- From: Andreas Jungmaier <ajung AT exp-math.uni-essen.de>
- To: discussion AT sctp.de
- Subject: Re: AW: [SCTP-Discussion] multiple instances
- Date: Wed May 30 15:16:00 2001
- List-id: SCTP Discussions <discussion.sctp.de>
- Organization: University of Essen, Germany
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday, 30. May 2001 08:16, you wrote:
>
> > 2. If there are multiple instances running within a process (from what
>
> > i gather from previous posts, its possible), when you have a
>
> > communicationUpNotif, how do we tell which instances the new
>
> > association belongs to?
>
>
>
> [Tuexen Michael] I'm not sure what the problem is. You only
>
> need the assoc id and if you wnat to know the local and remote
>
> port number of the assoc use the get_assoc_state (in pre10).
>
>
[Schruefer Wolfgang] I have the same problem, because my upper layer
>
wants to create 2 instances with different local ports, but equal callback
>
functions. When communicationUpNotif() is called at the server side, he
>
does not know to which instance it belongs. To give him a chance to
>
determine it, I would suggest to add the instanceID in the struct
>
SCTP_AssociationStatus. Is this possible?
>
Hello all,
I see where the problem is. My colleague, Thomas Dreibholz, is right
now working on a socket adaptation layer, that will enable an application
to use the socket-like API.
For this, we will need the instance id in every callback function
(i.e. CommUp, DataArrive and so on).
I have already a modified version which will be released after some
testing later this week.
Best regards,
Andreas Jungmaier
- ----------------------------------------------------------------------------
\|/ _____ \|/ Andreas Jungmaier, Dipl.-Ing.
"@'/ , . \`@" University of Essen
ajung AT exp-math.uni-essen.de
/_| \___/ |__\ -> Computer Networking Tel. : +49 (0201) 183-7636
\___U_/ Technology Group <-
- ----------------------------------------------------------------------------
PGP Public Key and Fingerprint: see
http://www.exp-math.uni-essen.de/~ajung
- ----------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see
http://www.gnupg.org
iD8DBQE7FUb2d2Uw+xBvGUIRAgHnAKCjMoSXdleamVolHubgYcF1xQwuKgCdFFG5
vHL3jMt3t6hEOAPgco/US+M=
=Dbr5
-----END PGP SIGNATURE-----
Archive powered by MHonArc 2.6.19+.