mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-18 06:10:06 +00:00
Implement POSIX support
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user