- From: Yiwen Jiang <Yiwen.Jiang AT tic.siemens.ca>
- To: "'discussion AT sctp.de'" <discussion AT sctp.de>
- Subject: RE: Re(2): [SCTP-Discussion] appropriate usage of echo_server/ech o_clien t and discard_server/t erminal demo programs
- Date: Wed Apr 4 16:18:02 2001
- List-id: SCTP Discussions <discussion.sctp.de>
Hi Michael,
>
> However, If I do:
>
> on 10.20.2.30:
>
> %./echo_server -s 127.0.0.1 -V
>
> on 10.20.2.31:
>
> ./echo_client -s 127.0.0.1 -d 10.20.2.30 -V
>
>
>
[Tuexen Michael] So there is no server running which accepts
>
packets for 10.20.2.30 or 10.20.2.31. So the behavior
>
is OK. Using
>
the -s options means that you are accepting packets
>
with that IP address (and you will only use these addresses
>
as source addresses. For this the forwarding must be in tune
>
with the parameters!).
Ahh.. I see. But if I don't specify any arguments for these programs, I get
core dump. So I figured that -s was a must "option".
Also, isn't the whole purpose of the demo program is to show how to use the
SCTP library correctly? Shouldn't the echo_server/echo_client contain code
that does a simple translation on the loopback address? Documentation
regarding the loopback address would probably be helpful as well, but I'm
sure that is in the works. :)
Thank you very much for your responses.
Yiwen
Archive powered by MHonArc 2.6.19+.