SCTP Discussions

Text archives Help


[SCTP-Discussion] sample programs usage rules


Chronological Thread 
  • From: "Michael Mueller" <bhu5nji AT yahoo.com>
  • To: <discussion AT sctp.de>
  • Subject: [SCTP-Discussion] sample programs usage rules
  • Date: Mon Nov 19 22:12:01 2001
  • List-id: SCTP Discussions <discussion.sctp.de>

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







Archive powered by MHonArc 2.6.19+.

Top of page