mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fix Linux build
This commit is contained in:
parent
ad3d90e521
commit
2056764706
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ namespace System.Net
|
||||||
if (bind(mHandle, &service, size) == SOCKET_ERROR)
|
if (bind(mHandle, &service, size) == SOCKET_ERROR)
|
||||||
{
|
{
|
||||||
#unwarn
|
#unwarn
|
||||||
int err = WSAGetLastError();
|
int err = GetLastError();
|
||||||
Close();
|
Close();
|
||||||
return .Err;
|
return .Err;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue