SCTP Discussions

Text archives Help


RE: [SCTP-Discussion] appropriate usage of echo_server/echo_clien t and discard_server/t erminal demo programs


Chronological Thread 
  • From: Tuexen Michael <Michael.Tuexen AT icn.siemens.de>
  • To: "'discussion AT sctp.de'" <discussion AT sctp.de>
  • Subject: RE: [SCTP-Discussion] appropriate usage of echo_server/echo_clien t and discard_server/t erminal demo programs
  • Date: Tue Apr 3 10:39:01 2001
  • List-id: SCTP Discussions <discussion.sctp.de>

Dear all, see my comments below.
Best regards
Michael

Michael Tuexen Tel.: +49 89 722 47210
Siemens AG Fax: +49 89 722 48212
ICN WN CS SE 51 E-mail:
Michael.Tuexen AT icn.siemens.de

> -----Original Message-----
> From: Yiwen Jiang
> [SMTP:Yiwen.Jiang AT tic.siemens.ca]
> Sent: Monday, April 02, 2001 10:46 PM
> To:
> 'discussion AT sctp.de'
> Subject: [SCTP-Discussion] appropriate usage of
> echo_server/echo_client and discard_server/t erminal demo programs
>
> Hi Michael,
>
> I have been fighting to get the above two sets of demo code to work for a
> while now, but with limited success..
>
> Both program runs, but there seems to generate some output that doesn't make
> sense to me, especially on the client side. For example, the client seems to
> receive SCTP messages it sent out to the server, and turns around and try to
> parse the message, but discovers that the destination port number is not
> registered, and the packet is dropped...
[Tuexen Michael] Hmm, sounds like the client and servers run
on the same host. This 'feature' was never fully supported and will
be dropped with the next release. We only support then having multiple
sctp processes running with disjoint sets of IP-addresses. This needs
the forwarding table to set up in tune with the processes.
>
> I read through the demo section of the SCTP manual that was distributed with
> the library. But there was very limited documentation on how these demo
> program should be used, whether or not the behaviour described above are
> normal. I have been stepping through the source code (into the library code)
> attempting to figure out the proper way of running these demo programs...
> (remote port, local port, remote server IP, local server IP, etc)
>
[Tuexen Michael] We definitly have to add something!

> My question/recommendation is, maybe in the manual, add a section to
> describe to the user how to use the program, and what is the appropriate
> behaviour of the demo programs, so that newbies like me can get a quick head
> start... (I'm sure there are something that I've missed, and once they are
> pointed out, it will be smooth sailing from then on, but for now, I'm kinda
> stuck... :(...)
[Tuexen Michael] How to run the server:
./echo_server -s 192.168.1.1 -V
For the client use
./echo_client -s 192.168.1.2 -d 192.168.1.1 -n 1 -V

This should generate traffic and lots of output.
>
> Thank you very much for your help.
[Tuexen Michael] Hope this helps
> Cheers,
> Yiwen
> ---
> Yiwen Jiang
> Mobile IP Networking
> Email:
> Yiwen.Jiang AT tic.siemens.ca
> Phone: (613)271-7710
>
> Telecom Innovation Centre
> 505 March Road
> Kanata, Ontario, Canada
> K2K 2M5
> _______________________________________________
> discussion mailing list
> discussion AT sctp.de
> http://www.sctp.de/mailman/listinfo/discussion



  • RE: [SCTP-Discussion] appropriate usage of echo_server/echo_clien t and discard_server/t erminal demo programs, Tuexen Michael, 04/03/2001

Archive powered by MHonArc 2.6.19+.

Top of page