1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

net: add windows socket support

This commit is contained in:
Justice Suh
2019-07-13 17:29:00 -04:00
committed by Alexander Medvednikov
parent 2cb12b4f4e
commit 5dfd5fa3e7
3 changed files with 58 additions and 11 deletions

5
vlib/net/socket_win.v Normal file
View File

@ -0,0 +1,5 @@
module net
#flag -lws2_32
#include <winsock2.h>
#include <Ws2tcpip.h>