mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-26 03:28:02 +02:00
BeefySysLib point/rect updates, async pipe fixes
This commit is contained in:
parent
81a9478e77
commit
fe1aa3c26e
32 changed files with 282 additions and 120 deletions
|
@ -392,8 +392,11 @@ namespace System.Net
|
|||
service.sin_addr = address;
|
||||
service.sin_port = (uint16)htons((int16)port);
|
||||
|
||||
if (bind(mHandle, &service, sizeof(SockAddr_in)) == SOCKET_ERROR)
|
||||
int32 size = sizeof(SockAddr_in);
|
||||
if (bind(mHandle, &service, size) == SOCKET_ERROR)
|
||||
{
|
||||
int err = WSAGetLastError();
|
||||
|
||||
Close();
|
||||
return .Err;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue