diff --git a/port_prediction.nim b/port_prediction.nim index 653102f..ac714f9 100644 --- a/port_prediction.nim +++ b/port_prediction.nim @@ -25,7 +25,7 @@ type minPort*: uint16 maxPort*: uint16 -const RandomPortCount = 1000'u16 +const RandomPortCount = 3000'u16 proc min(a, b: uint16): uint16 = min(a.int32, b.int32).uint16 diff --git a/quicp2p.nim b/quicp2p.nim index 1f472b9..57fd328 100644 --- a/quicp2p.nim +++ b/quicp2p.nim @@ -393,7 +393,7 @@ proc main() = var ctx: QuicP2PContext var socks = newSeq[AsyncSocket]() randomize() - for i in 0 .. 19: + for i in 0 .. 29: # FIXME: close socks let sock = newAsyncSocket(sockType = SOCK_DGRAM, protocol = IPPROTO_UDP, buffered = false)