SCTP Programmer's Guide
#./cli_app <ip_address> <port_number>
where:
cli_app
Specifies the executable file.
ip_address
Specifies the IP address of the server to which the client wants to
connect.
port_number
Specifies the port number on which the server accepts connections.
NOTE: Before running the server and client applications, ensure that sctpd is running
on the system that contains the server and client applications.
To check whether sctpd is running on the system, enter the following command:
# ps –ef | grep sctpd
The following output is displayed if sctpd is running:
root 6854 25317 1 18:36:25 pts/tc 0:00 grep scptd
Example 3-3 Sample Command to Run the Client Application
To run the sample client application in a one-to-one or one-to-many connection, enter
the following command:
#./cli_app 15.70.189.135 6000
The following output is displayed:
Connected to [15.70.189.135]
<S>:
This output denotes that the client has established an association with the server on
the port 6000.
Running Sample Applications that use the SCTP APIs 71