How to set SCTP send buffer size per association

How to set SCTP send buffer size per association

Post by Sridha » Tue, 13 May 2008 19:31:11



Hi,

The setsockopt option in SCTP to set SO_SNDBUF will set the send
buffer size for the whole socket, in the case of a one-to-many socket,
if the HAVE_SCTP_MULTIBUF is set to 0 in the kernel. Are there any
other way by which I can set the send buffer size per association
instead of at the socket level? There is a way to set the receive
buffer size per association using the
sctp_assocparams.sasoc_local_rwnd field with SCTP_ASSOCINFO option on
setsockopt.

Any help is appreciated.

Regards
Sridhar