mirror of
https://git.robbyzambito.me/zaprus
synced 2025-12-20 16:24:50 +00:00
Start proper connection handshake
This commit is contained in:
@@ -30,7 +30,9 @@ pub fn main() !void {
|
||||
try Saprus.init();
|
||||
defer Saprus.deinit();
|
||||
|
||||
try Saprus.sendInitialConnection(if (message.items.len > 0) message.items else "Hello darkness my old friend", 6868, gpa);
|
||||
// _ = try Saprus.sendInitialConnection(if (message.items.len > 0) message.items else "Hello darkness my old friend", 6868, gpa);
|
||||
|
||||
try Saprus.connect(if (message.items.len > 0) message.items else "Hello darkness my old friend", gpa);
|
||||
|
||||
// try Saprus.sendRelay(if (message.items.len > 0) message.items else "Hello darkness my old friend", gpa);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user