SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Multi-streams


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] Multi-streams
  • Date: Fri Aug 30 14:32:00 2002
  • List-id: SCTP Discussions <discussion.sctp.de>
  • Organization: University of Essen, Institute for Experimental Mathematics

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

Am Freitag, 30. August 2002 14:16 schrieb Oon Heok Kee:
> Hi,
>
> I tried what you advised, and made a little bit of headway. There is a
> little bit of change to what's running on the client now, but server is
> still initialising with 1 in and 1 out stream.
>
> I've put the entire chunk of code setting the parameters of struct
> sctp_initmsg and putting in the ext_setsockoption() just after ext_bind(),
> before ext_listen(), but it's still the same. Is there anything else that I
> can try?

Sorry, my reply was wrong. The ext_setsockopt() must be called *before*
ext_bind() or sctp_bindx() is called. The bind call itself invokes
sctp_registerInstance() of the sctplib, which finally creates an SCTP
instance for this socket. This function requires the number of in/out streams
and therefore the ext_setsockopt() call must be done before.


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

iD8DBQE9b2cm32BbsHYPLWURAl3UAJ9hzVBOO45ITUhmQ0EdA/earwdXfgCdFdhf
UlEHz3fhbKbrYajHtByttY4=
=96Sa
-----END PGP SIGNATURE-----




Archive powered by MHonArc 2.6.19+.

Top of page