Fixed crash/interface. Added tests.

This commit is contained in:
Yuriy Glukhov
2018-03-15 15:44:12 +02:00
parent 29bb10b185
commit 1bd0efb067
4 changed files with 42 additions and 8 deletions

View File

@@ -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