Re: setsockopt(SOL_SOCKET, SO_SNDBUF) broken on 2.4.18?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 25 Feb 2002 23:21:20 +0000 (GMT)


> The problem is that I don't want to shrink the buffer size, hence I need
> to read the current size. Do I need to halve the returned value from
> getsockopt() then?

The kernel always uses a buffer as big or bigger than you asked for
-
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/