Implement POSIX support

This commit is contained in:
Diego Waxemberg
2014-01-19 02:24:04 -05:00
parent 2f18a9aea7
commit 128a5e113a
7 changed files with 108 additions and 49 deletions

View File

@@ -20,7 +20,7 @@ SOCKET bindUdpSocket(unsigned short port) {
}
val = 65536;
int err = setsockopt(s, SOL_SOCKET, SO_RCVBUF, (char*) &val, sizeof(val));
setsockopt(s, SOL_SOCKET, SO_RCVBUF, (char*) &val, sizeof(val));
return s;
}