Fixed tasyncudp.nim to work with fowl's changes.

This commit is contained in:
Dominik Picheta
2012-08-20 21:55:57 +01:00
parent 99698ec5d8
commit a95e958046

View File

@@ -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()