TCP_NODELAY level wrong?
David Collier-Brown
davecb at canada.sun.com
Tue May 2 16:41:31 GMT 2000
Ron Alexander wrote:
>
> The following code from util_sock.c causes a failure on VOS. The
> problem is, that the level of IPPROTO_TCP is wrong. It should be
> SOL_SOCKET like most of the other options.
On Solaris it's at the TCP level, but that isn't supposed
to matter:
"Options may exist at multiple protocol levels; they are
always present at the uppermost "socket" level"
If this is true of other OSs, we can promote it to
SOL_SOCKET, if not it would have to be conditionally
defined.
> As I understand it, the IPPROTO_TCP is a Berkley type and SOL_SOCKET is a
> Spider type.
Just a socket type as opposed to a protocol-specific type.
--dave
--
David Collier-Brown, | Always do right. This will gratify some people
185 Ellerslie Ave., | and astonish the rest. -- Mark Twain
Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com
More information about the samba-technical
mailing list