mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-12-04 14:46:31 -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
6bc46604b9
commit
6780ececbc
@ -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