Commit cefe6b89 authored by Michael Smith's avatar Michael Smith

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
parent 0b57a337
......@@ -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));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment