mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Removal of old Network, added nonblocking set and async connect.
This commit is contained in:
@@ -6,6 +6,10 @@ extern fn WSAError win32_WSAGetLastError() @extern("WSAGetLastError") @builtin;
|
||||
extern fn void win32_WSASetLastError(WSAError error) @extern("WSASetLastError") @builtin;
|
||||
extern fn CInt win32_WSAStartup(Win32_WORD, void*) @extern("WSAStartup") @builtin;
|
||||
|
||||
const int FIONBIO = -2147195266;
|
||||
const int FIONREAD = 1074030207;
|
||||
const int SIOCATMARK = 1074033415;
|
||||
|
||||
module std::os::win32::wsa @if(env::WIN32);
|
||||
|
||||
const WSAError NO_ERROR = 0;
|
||||
|
||||
Reference in New Issue
Block a user