File diff r5974:e11b6f5200f9 → r5975:e1f08be8192a
src/network/core/udp.cpp
Show inline comments
 
@@ -33,15 +33,7 @@ bool NetworkUDPSocketHandler::Listen(con
 
		return false;
 
	}
 

	
 
	/* set nonblocking mode for socket */
 
	{
 
		unsigned long blocking = 1;
 
#ifndef BEOS_NET_SERVER
 
		ioctlsocket(this->sock, FIONBIO, &blocking);
 
#else
 
		setsockopt(this->sock, SOL_SOCKET, SO_NONBLOCK, &blocking, NULL);
 
#endif
 
	}
 
	SetNonBlocking(this->sock);
 

	
 
	sin.sin_family = AF_INET;
 
	/* Listen on all IPs */