Many fixes for asynchronous sockets. Asyncio should now work well with buffered and unbuffered plain and ssl sockets. Added asyncio

test to the test suite.
This commit is contained in:
Dominik Picheta 2012-07-22 23:32:49 +01:00
commit 5310a3044f
8 changed files with 492 additions and 137 deletions

View file

@ -415,7 +415,7 @@ when hasSpawnH:
header: "<spawn.h>", final, pure.} = object
type
TSocklen* {.importc: "socklen_t", header: "<sys/socket.h>".} = cint
TSocklen* {.importc: "socklen_t", header: "<sys/socket.h>".} = cuint
TSa_Family* {.importc: "sa_family_t", header: "<sys/socket.h>".} = cint
TSockAddr* {.importc: "struct sockaddr", header: "<sys/socket.h>",