- 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] ext_getsockopt and ext_setsockopt problems
- Date: Mon Oct 21 14:37:00 2002
- List-id: SCTP Discussions <discussion.sctp.de>
- Organization: University of Essen, Institute for Experimental Mathematics
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Montag, 21. Oktober 2002 14:20 schrieb Oon Heok Kee:
>
Hi,
>
>
I've got a streaming server and client coded to run on SCTP. Connection
>
establishment and teardown seems to be working fine, but there are some
>
problems when I start using ext_getsockopt().
>
>
I've attached a small portion of the codes that calls ext_setsockopt(),
>
ext_getsockopt() and the parameters passed into the function. These values
>
and function calls work fine when used on other transport protocols, but
>
I'm wondering why they don't work with a TCP-style SCTP socket. Somehow,
>
ext_getsockopt() is always returning -1.
The socket must have an association. That is, the socket FD must either be
returned by ext_accept() or an association has been established by
ext_connect().
Note, that the size of the receive and send buffer are currently specified in
chunks, not bytes. This is due to the sctplib's implementation. 0x80000 =
524288 chunks seems to be quite large.
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
iD8DBQE9s/RG32BbsHYPLWURAqtQAJsGuwUoibj3fRCAVJaQt0ueJkVlIwCeMW3I
QY3bJoYvoAK0OiISU+0TnuA=
=2toK
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.19+.