Commit Graph

15 Commits

Author SHA1 Message Date
Christian Ulrich a1fbc27c54
fix compilation on arm64 2020-08-17 20:26:12 +02:00
Christian Ulrich d02c0ddd82
decrease delay after failed connection 2020-08-16 12:42:04 +02:00
Christian Ulrich dcd2c03d45
introduce AcceptPort constant; add debug output 2020-08-16 12:41:07 +02:00
Christian Ulrich 7f40ab0082
source port may take a bit to become available again, so retry binding three times 2020-07-29 20:15:01 +02:00
Christian Ulrich 7c010f9303
get-info -> get-peerinfo 2020-07-26 17:48:47 +02:00
Christian Ulrich 3d40ddec85
introduce get-endpoint: server sends endpoint info and closes connection (allows subsequent connections to the same server) 2020-07-26 17:46:17 +02:00
Christian Ulrich f23093fd69
cosmetic 2020-07-25 12:00:45 +02:00
Christian Ulrich 4f64b7be53
implement primitive probing of the rendezvous server's public IP and provide it to LAN clients 2020-07-22 02:04:02 +02:00
Christian Ulrich 6e36b5addd
probe ports and use results to register and notify peer 2020-07-21 19:53:21 +02:00
Christian Ulrich 187b232162
use dynamic length of destination ports and captured sequence numbers (3 for now) 2020-07-21 11:10:56 +02:00
Christian Ulrich 301ca6c81d
sometimes recvLine returns "\r\n" when the peer disconnects (not documented). Handle that as a disconnect. 2020-07-21 10:17:36 +02:00
Christian Ulrich 41048dd8cd
must strip newline from punchd message 2020-07-20 10:08:28 +02:00
Christian Ulrich ebcab0fd74
change type order (cosmetic) 2020-07-07 19:34:34 +02:00
Christian Ulrich f22bd5eacc
use more readable substr call 2020-07-06 15:25:10 +02:00
Christian Ulrich aa5f437093
add example apps 2020-07-06 15:10:10 +02:00