Merge branch 'devel' of https://github.com/Araq/Nimrod into devel

This commit is contained in:
Araq 2014-03-26 20:31:29 +01:00
commit a1e97ad4a4
6 changed files with 310 additions and 158 deletions

View file

@ -21,7 +21,6 @@ proc launchSwarm(port: TPort) {.async.} =
for i in 0 .. <swarmSize:
var sock = newAsyncRawSocket()
#disp.register(sock)
await connect(sock, "localhost", port)
when true:
await sendMessages(sock)
@ -48,7 +47,6 @@ proc readMessages(client: TAsyncFD) {.async.} =
proc createServer(port: TPort) {.async.} =
var server = newAsyncRawSocket()
#disp.register(server)
block:
var name: TSockaddr_in
when defined(windows):