Fixed crash/interface. Added tests.
This commit is contained in:
parent
29bb10b185
commit
1bd0efb067
4 changed files with 42 additions and 8 deletions
|
|
@ -481,6 +481,10 @@ type
|
|||
sin6_flowinfo*: int32 # unsigned
|
||||
sin6_addr*: In6_addr
|
||||
|
||||
Sockaddr_storage* {.importc: "SOCKADDR_STORAGE",
|
||||
header: "winsock2.h".} = object
|
||||
ss_family*: int16
|
||||
|
||||
Servent* = object
|
||||
s_name*: cstring
|
||||
s_aliases*: cstringArray
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue