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

David S. Miller (davem@redhat.com)
Thu, 2 Aug 2001 06:12:03 -0700 (PDT)


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/