Fixed tasyncudp.nim to work with fowl's changes.
This commit is contained in:
parent
99698ec5d8
commit
a95e958046
1 changed files with 2 additions and 1 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue