mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Bah. That'll teach me to trust the manpage... let's try something which might
be marginally more portable. svn path=/trunk/net/; revision=4279
This commit is contained in:
parent
0b57a33794
commit
cefe6b8970
@ -205,7 +205,7 @@ int sock_set_nodelay(sock_t sock)
|
||||
{
|
||||
int nodelay = 1;
|
||||
|
||||
return setsockopt(sock, SOL_TCP, TCP_NODELAY, (void *)nodelay,
|
||||
return setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (void *)nodelay,
|
||||
sizeof(int));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user