File diff r23404:a2f4306a903a → r23405:fde6cd168dc5
src/network/core/tcp_listen.h
Show inline comments
 
@@ -118,11 +118,7 @@ public:
 
		}
 

	
 
		tv.tv_sec = tv.tv_usec = 0; // don't block at all.
 
#if !defined(__MORPHOS__) && !defined(__AMIGA__)
 
		if (select(FD_SETSIZE, &read_fd, &write_fd, NULL, &tv) < 0) return false;
 
#else
 
		if (WaitSelect(FD_SETSIZE, &read_fd, &write_fd, NULL, &tv, NULL) < 0) return false;
 
#endif
 

	
 
		/* accept clients.. */
 
		for (SocketList::iterator s = sockets.Begin(); s != sockets.End(); s++) {