punch 20 holes to help the peer traverse our SymmetricRandom NAT
This commit is contained in:
parent
25acfc9518
commit
de26d60617
|
@ -393,7 +393,7 @@ proc main() =
|
||||||
var ctx: QuicP2PContext
|
var ctx: QuicP2PContext
|
||||||
var socks = newSeq[AsyncSocket]()
|
var socks = newSeq[AsyncSocket]()
|
||||||
randomize()
|
randomize()
|
||||||
for i in 0 .. 9:
|
for i in 0 .. 19:
|
||||||
# FIXME: close socks
|
# FIXME: close socks
|
||||||
let sock = newAsyncSocket(sockType = SOCK_DGRAM, protocol = IPPROTO_UDP,
|
let sock = newAsyncSocket(sockType = SOCK_DGRAM, protocol = IPPROTO_UDP,
|
||||||
buffered = false)
|
buffered = false)
|
||||||
|
|
Loading…
Reference in New Issue