Simple working concept

This commit is contained in:
2025-08-12 14:19:13 -04:00
parent 4c543e2d0e
commit 708f85663a
4 changed files with 136 additions and 12 deletions
+6 -1
View File
@@ -1,3 +1,8 @@
use ghostnet_rs::GhostStream;
fn main() {
// ghostnet_rs::gateway::run().unwrap();
if let Err(_) = ghostnet_rs::gateway::run() {
let mut stream = GhostStream::connect((0, 0, 0, 0), 7525);
stream.write("Hello, World".as_bytes());
}
}