Fix compilation
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
#include <cerrno>
|
||||||
|
|
||||||
struct UnixSocketData
|
struct UnixSocketData
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -270,7 +270,7 @@ bool Win32Network::Accept(NetworkSocket& serverSocket, NetworkSocket& newSocket,
|
|||||||
{
|
{
|
||||||
if (serverSocket.Protocol != NetworkProtocol::Tcp)
|
if (serverSocket.Protocol != NetworkProtocol::Tcp)
|
||||||
{
|
{
|
||||||
LOG(Warning, "Can't accept connection on UDP socket! Socket : {0}", *(SOCKET*)serverSock.Data);
|
LOG(Warning, "Can't accept connection on UDP socket! Socket : {0}", *(SOCKET*)serverSocket.Data);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
SOCKET sock;
|
SOCKET sock;
|
||||||
|
|||||||
Reference in New Issue
Block a user