Re: setsockopt(..,SO_RCVBUF,..) sets wrong value

From: David S. Miller (davem@redhat.com)
Date: Thu Aug 02 2001 - 08:12:03 EST


Manfred Bartz writes:
> When I do a setsockopt(..,SO_RCVBUF,..) and then read the value back
> with getsockopt(), the reported value is exactly twice of what I set.

That's correct. Please search the list archives to learn why things
behave this way and why they are not going to change.

I wish that this long winded, and often occuring thread not occur
again.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:19 EST