Added ability to toggle socket blocking mode

This commit is contained in:
Fred Nicolson
2016-12-11 20:45:13 +00:00
parent eec630ed24
commit 27a88febfa
3 changed files with 40 additions and 12 deletions
+1
View File
@@ -67,6 +67,7 @@ inline void *get_sin_addr(struct sockaddr *sa)
#define SOCKET_ERROR -1
#include <netdb.h>
#include <unistd.h>
#include <fcntl.h>
#endif