SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Problem with Event Loop Mechanism


Chronological Thread 
  • From: "rkgupta" <rkgupta AT mahindrabt.com>
  • To: <discussion AT sctp.de>
  • Cc: <Michael.Tuexen AT icn.siemens.de>
  • Subject: Re: [SCTP-Discussion] Problem with Event Loop Mechanism
  • Date: Wed Apr 24 14:12:01 2002
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi Michael,

I have gone through echo_server and echo_tool programs provided in
sctplib/programs dir. I did changes in my Server and Client programs and
that is working fine.

But What I come to know about those programs, Once SCTP association is
established between
echo_server and echo_tool initiated by echo_tool program, echo_tool sends a
message to
echo_server,echo_server receives that message and sends back to echo_tool
programs and so on.

But Our requirement is something different, In our case, Server program is
sending bulk messages
(may be lacks of packet) to client, client receives them and sends back all
the received packets to
server, but server is not receiving all the packets. i. e. After receiving
some packets, it seems stuck.

So how can we solve this problem ???
I can send the source code if you want to look into it.

rgds,
Rajesh


----- Original Message -----
From: Tuexen Michael
<Michael.Tuexen AT icn.siemens.de>
To:
<discussion AT sctp.de>
Cc: 'rkgupta'
<rkgupta AT mahindrabt.com>
Sent: Tuesday, April 23, 2002 5:18 PM
Subject: RE: [SCTP-Discussion] Problem with Event Loop Mechanism


> Dear all,
>
> have you looked at the examples provided in sctplib/programs?
>
> The localcom.c shows how to run client and server in one program
> using the loopback interface. echo_server.c and echo_tool.c should
> be similiar to the programs you are using.
>
> If looking at the examples does not help, please send the source
> directly to me
> (Michael.Tuexen AT micmac.franken.de).
>
> Best regards
> Michael
>
> Michael Tuexen Tel.: +49 89 722 47210
> Siemens AG Fax: +49 89 722 48212
> ICN WN CC SE 7 E-mail:
> Michael.Tuexen AT icn.siemens.de
>
> > -----Original Message-----
> > From: rkgupta
> > [SMTP:rkgupta AT mahindrabt.com]
> > Sent: Tuesday, April 23, 2002 1:37 PM
> > To:
> > discussion AT sctp.de
> > Subject: [SCTP-Discussion] Problem with Event Loop Mechanism
> >
> > hi All,
> >
> > We are trying to calculate the time to be taken by data packets to
travel
> > between two machines through SCTP protocol.
> >
> > For this purpose, we have made Server and Client programs using Event
Loop
> > mechanism of sctp library. Server is sending packets to Client program
after
> > getting communication up notification, Client is receiving all packets
using
> > data arrive notification and loop back them to server. This is working
fine
> > for less no of packets (10, 100 packets of each having 250 bytes data).
> >
> > But sometimes server is not receiving back all the packets (In case of
more
> > than 1000 packets or so).
> > What could be the reason ??
> >
> > Also, We are not able to establish association between server and client
> > application programs using event loop.
> >
> > rgds,
> > Rajesh
> _______________________________________________
> discussion mailing list
> discussion AT sctp.de
> http://www.sctp.de/mailman/listinfo/discussion
>

*********************************************************
Disclaimer

This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com




Archive powered by MHonArc 2.6.19+.

Top of page