SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] sample programs usage rules


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] sample programs usage rules
  • Date: Tue Nov 20 21:22:01 2001
  • List-id: SCTP Discussions <discussion.sctp.de>

Dear all,

this is a demonstration of the 'port concept' of SCTP. It is not
a bug of the SCTP lib. It is a feature of the protocol.
-r means remote port number.

Best regards
Michael
On Monday, November 19, 2001, at 09:42 Uhr, Michael Mueller wrote:

Read code for combined server, found that remote port == function
(echo-7, discard-9, daytime-13)

So...here are some usages rules that worked for me:

If you are compiling on one machine and moving programs to other
nodes, you might consider using the -static option when you compile
to keep from managing libsctp.x versions every time there is a new
release.

Node 1 and 2: become superuser to allow raw socket opens

Discard Server
Node 1: run "discard_server -V -s 192.168.1.4" (be sure to use your
IP address of node 1)
Node 2: run "terminal -V -r 9 -s 192.168.1.3 -d 192.168.1.4

Echo Server
Node 1: run "echo_server -V -s 192.168.1.4" (be sure to use your IP
address of node 1)
Node 2: run "terminal -V -r 7 -s 192.168.1.3 -d 192.168.1.4

Daytime Server
Node 1: run "daytime_server -V -s 192.168.1.4" (be sure to use your
IP address of node 1)
Node 2: run "terminal -V -r 13 -s 192.168.1.3 -d 192.168.1.4

Combined Server
Node 1: run "combined_server -V -s 192.168.1.4" (be sure to use
your IP address of node 1)
Node 2: for echo run "terminal -V -r 7 -s 192.168.1.3 -d
192.168.1.4
for discard run "terminal -V -r 9 -s 192.168.1.3 -d
192.168.1.4
for daytime run "terminal -V -r 13 -s 192.168.1.3 -d
192.168.1.4



_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion

Michael.Tuexen AT micmac.franken.de





Archive powered by MHonArc 2.6.19+.

Top of page