mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-26 03:28:02 +02:00
Merge branch 'master' of https://github.com/beefytech/Beef
This commit is contained in:
commit
c1003cd3e0
8 changed files with 265 additions and 182 deletions
|
@ -166,9 +166,15 @@ namespace System.Net
|
|||
public const int SOCK_DGRAM = 2;
|
||||
public const int IPPROTO_TCP = 6;
|
||||
public const int IPPROTO_UDP = 17;
|
||||
#if BF_PLATFORM_WINDOWS
|
||||
public const int SOL_SOCKET = 0xffff;
|
||||
public const int SO_REUSEADDR = 0x0004;
|
||||
public const int SO_BROADCAST = 0x0020;
|
||||
public const int SO_BROADCAST = 0x0020;
|
||||
#else
|
||||
public const int SOL_SOCKET = 1;
|
||||
public const int SO_REUSEADDR = 2;
|
||||
public const int SO_BROADCAST = 6;
|
||||
#endif
|
||||
public const IPv4Address INADDR_ANY = default;
|
||||
|
||||
#if BF_PLATFORM_WINDOWS
|
||||
|
@ -618,4 +624,4 @@ namespace System.Net
|
|||
return .Ok;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue