Add TCP_NODELAY support #6795
This commit is contained in:
parent
14468e2336
commit
83de3a85e7
2 changed files with 14 additions and 1 deletions
|
|
@ -541,6 +541,7 @@ var
|
|||
SO_DONTLINGER* {.importc, header: "winsock2.h".}: cint
|
||||
SO_EXCLUSIVEADDRUSE* {.importc, header: "winsock2.h".}: cint # disallow local address reuse
|
||||
SO_ERROR* {.importc, header: "winsock2.h".}: cint
|
||||
TCP_NODELAY* {.importc, header: "winsock2.h".}: cint
|
||||
|
||||
proc `==`*(x, y: SocketHandle): bool {.borrow.}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue