1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00
This commit is contained in:
TheRawMeatball 2020-06-06 14:40:46 +03:00
parent 4b15ad576f
commit c74285d6fb

View file

@ -109,12 +109,17 @@ namespace System.Net
public char8** h_addr_list; /* list of addresses */
}
const HSocket INVALID_SOCKET = (HSocket)-1;
const HSocket INVALID_SOCKET = (HSocket)0xffffffff;
const int32 SOCKET_ERROR = -1;
const int AF_INET = 2;
const int SOCK_STREAM = 1;
const int IPPROTO_TCP = 6;
#if BF_PLATFORM_WINDOWS
const int FIONBIO = (int)0x8004667e;
#else
const int FIONBIO = (int)0x00005421;
#endif
HSocket mHandle = INVALID_SOCKET;
bool mIsConnected = true;