RSPlib Discussions

Text archives Help


Re: [RSPlib-Discusssion] problem with handling sockets


Chronological Thread 
  • From: Michael Tüxen <Michael.Tuexen AT micmac.franken.de>
  • To: "Marjan Bozinovski" <marjanb AT cpk.auc.dk>
  • Cc: <rsplib-discussion AT sctp.de>
  • Subject: Re: [RSPlib-Discusssion] problem with handling sockets
  • Date: Tue Jul 1 13:37:01 2003
  • List-id: RSPlib Discussions <rsplib-discussion.sctp.de>

Hi Marjan,
see my comments below.
Best regards
Michael
On Tuesday, Jul 1, 2003, at 12:58 Europe/Berlin, Marjan Bozinovski wrote:

Hi Michael,

I didn't know that running multiple sctplib instances is not
recommended. But, how can one run multiple applications on
one machine by using sctplib.

The recommended way is not running multiple applications on one
machine. But the socketAPI does try to work around that which
does not always work. You are talking about the listening
sockets, I think. You can control the client port by using
the bind() system call on the client side.

Can you send a ethereal trace file for a situation which does
not work? Send it to me, not to the list.

Best regards
Michael

I'm not sure if I understood your question well about
controlling the port numbers. Each of the 3 applications has
its own port number different from the other 2, e.g., in our
case those are 5060, 5061 and 5062. Could you explain me in
short what you mean by controlling the port numbers oneself?

Best regards,
Marjan

----- Original Message -----
From: "Michael Tüxen"
<Michael.Tuexen AT micmac.franken.de>
To: "Marjan Bozinovski"
<marjanb AT cpk.auc.dk>
Cc:
<rsplib-discussion AT sctp.de>
Sent: Tuesday, July 01, 2003 12:44 PM
Subject: Re: [RSPlib-Discusssion] problem with handling
sockets


Hi Majan,

having multiple instances of the sctplib is not the
recommended way. You should only have one.

If you are running multiple versions of it YOU must
control the port numbers by yourself. How are you handling
them?

Best regards
Michael

On Tuesday, Jul 1, 2003, at 11:31 Europe/Berlin, Marjan
Bozinovski
wrote:

Hi,

We have a problem with handling SCTP sockets in our
application using
rsplib/socketapi/sctplib. Here is the problem description.

I have three instances of the SIP application that have to
run
simultaneously on the same machine. Each of them creates
sockets to
either with another SIP application on the same machine or
with an
application on another machine. During run time, there is
on average 3
sockets created at each SIP application, so on average 9
sockets in
one machine.

I run the 3 instances simulteneously. Sometimes the
communication is
as expected, but sometimes certain sockets cannot be read
and SIP
messages are not received at all.

Could it be that multiple sockets being opened by several
application
in one machine maye conflict with each other?

The same problem appears with both socketapi-1.2.0 and
socketapi-1.0.0.

Best regards,
Marjan








Archive powered by MHonArc 2.6.19+.

Top of page