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:

committed by
Alexander Medvednikov

parent
2cb12b4f4e
commit
5dfd5fa3e7
5
vlib/net/socket_win.v
Normal file
5
vlib/net/socket_win.v
Normal file
@ -0,0 +1,5 @@
|
||||
module net
|
||||
|
||||
#flag -lws2_32
|
||||
#include <winsock2.h>
|
||||
#include <Ws2tcpip.h>
|
Reference in New Issue
Block a user