I did timeout this way:
let connectedSocket = socket.connect(serverAddress, port.Port) # :
Future[void]
waitFor connectedSocket or sleepAsync(10000)
if not connectedSocket.finished :
quit("Timeout. Could not reach the server. Quitting...")
echo "Connected!"
Run
- asyncnet and reading from multiple socks blmvxer
- Re: asyncnet and reading from multiple socks treeform
- Re: asyncnet and reading from multiple socks blmvxer
- Re: asyncnet and reading from multiple socks blmvxer
- Re: asyncnet and reading from multiple socks mashingan
- Re: asyncnet and reading from multiple soc... adokitkat
