Minor fixes

This commit is contained in:
Jérôme Leclercq
2022-02-05 21:30:36 +01:00
parent 33dddf6d41
commit 6c35b0be57
7 changed files with 94 additions and 110 deletions

View File

@@ -178,11 +178,6 @@ namespace Nz
return TranslateWSAErrorToSocketError(code);
}
int SocketImpl::GetLastErrorCode()
{
return WSAGetLastError();
}
int SocketImpl::GetLastErrorCode(SocketHandle handle, SocketError* error)
{
int code;

View File

@@ -44,7 +44,6 @@ namespace Nz
static bool Initialize();
static SocketError GetLastError(SocketHandle handle, SocketError* error = nullptr);
static int GetLastErrorCode();
static int GetLastErrorCode(SocketHandle handle, SocketError* error = nullptr);
static SocketState Listen(SocketHandle handle, const IpAddress& address, unsigned queueSize, SocketError* error);