Simple working concept
This commit is contained in:
+6
-1
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user