SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Using SOL_SOCKET options


Chronological Thread 
  • From: Thomas Dreibholz <dreibh AT exp-math.uni-essen.de>
  • To: "Oon Heok Kee" <oonheokkee78 AT hotmail.com>, discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] Using SOL_SOCKET options
  • Date: Mon Oct 14 09:42:02 2002
  • List-id: SCTP Discussions <discussion.sctp.de>
  • Organization: University of Essen, Institute for Experimental Mathematics

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Freitag, 11. Oktober 2002 16:50 schrieb Oon Heok Kee:
> Hi,
>
> Does the sctp.de distribution of sctplib-1.0.0-pre19 and socketapi-1.0.0
> support SOL_SOCKET options when using ext_setsockopt()?
>
> I realised that all the example codes that were given are using the
> IPPROTO_SCTP level. I also tried using the SOL_SOCKET options and I had
> problem compiling my codes.

The socket API supports SO_RCVBUF to set the input buffer size in chunks (not
bytes!) and SO_LINGER in the SOL_SOCKET level of ext_setsockopt().
ext_getsockopt() also handles SO_SNDBUF to obtain the send buffer size in
chunks (not bytes!). Note that SO_SNDBUF and SO_RCVBUF are only supported in
TCP-like mode.


Best regards
- --
=======================================================================
Dipl.-Inform. Thomas Dreibholz

University of Essen, Room ES210
Inst. for Experimental Mathematics Ellernstraße 29
Computer Networking Technology Group D-45326 Essen/Germany
- -----------------------------------------------------------------------
E-Mail:
dreibh AT exp-math.uni-essen.de
Homepage: http://www.exp-math.uni-essen.de/~dreibh
=======================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9qnJm32BbsHYPLWURArCEAKC7MRl0KYxMcVdWpY5zc+mv/mLm3QCfb2n8
5rTvjZx0g3w0VFmwX8mgGPs=
=BiT/
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.19+.

Top of page