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:
parent
b839e42e92
commit
5310a3044f
8 changed files with 492 additions and 137 deletions
|
|
@ -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>",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue