mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 05:50:30 +00:00
Fixed tasyncudp.nim to work with fowl's changes.
This commit is contained in:
@@ -16,7 +16,8 @@ var
|
||||
proc serverRead(s: PAsyncSocket) =
|
||||
var data = ""
|
||||
var address = ""
|
||||
if s.recvFromAsync(data, 9, address):
|
||||
var port: TPort
|
||||
if s.recvFromAsync(data, 9, address, port):
|
||||
assert address == "127.0.0.1"
|
||||
msgCount.inc()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user