[sctp-dev] Socket Options Issue
Christopher Hegarty - Sun Microsystems Ireland
Christopher.Hegarty at Sun.COM
Thu Jan 14 08:39:05 PST 2010
On 14/01/2010 16:06, Alan Bateman wrote:
> Christopher Hegarty - Sun Microsystems Ireland wrote:
>> ....
> It's the similar with TCP and UDP sockets which is why methods such as
> Socket.getSendBufferSize or SocketChannel.getOption(SO_SNDBUF) return
> the result / 2. That is, the returned result is meant to be close to
> what should be available as the send (or receive) buffer. You could do
> something similar in the SCTP code.
OK, got it Alan. I completely overlooked this. I'll filed:
6916922: (sctp) SO_RCVBUF & SO_SNDBUF returns twice the value set
Bruce, I hope to have a fix for this in b81, the next available promoted
build.
-Chris.
>
> -Alan.
More information about the sctp-dev
mailing list