diff options
author | t00fcxen <t00fcxen@9df1edf5-d72c-5b5f-11c0-5f5209eb73f7> | 2014-12-13 10:01:40 +0000 |
---|---|---|
committer | t00fcxen <t00fcxen@9df1edf5-d72c-5b5f-11c0-5f5209eb73f7> | 2014-12-13 10:01:40 +0000 |
commit | 891a25c82547a9308bbbfb8375f4ee4443efff65 (patch) | |
tree | f3385773008cbe0f219b263b37b7b07b243130eb /Manual.tex | |
parent | 853df1b2af84bd67b8e09bcfc7bfa8eff313222b (diff) | |
download | usrsctp-891a25c82547a9308bbbfb8375f4ee4443efff65.tar.gz |
The client also accepts a local port. This was added in
https://code.google.com/p/sctp-refimpl/source/detail?r=8490
but the documentation was not updated.
Diffstat (limited to 'Manual.tex')
-rw-r--r-- | Manual.tex | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -97,7 +97,7 @@ on Windows. The client needs two additional parameters, the server's address and its port. Its usage is \begin{verbatim} -client remote_addr remote_port [local_encaps_port remote_encaps_port] +client remote_addr remote_port [local_port local_encaps_port remote_encaps_port] \end{verbatim} The remote address is the server's address. If client and server are started on the same machine, the loopback address 127.0.0.1 can be used for Unix-like OSs and the local address on Windows. @@ -105,11 +105,11 @@ The discard port is 9, thus 9 has to be taken as remote port. The encapsulation match those of the server, i.e. the server's local\_encaps\_port is the client's remote\_encaps\_port and vice versa. Thus, the client can be started with \begin{verbatim} -./client 127.0.0.1 9 22222 11111 +./client 127.0.0.1 9 0 22222 11111 \end{verbatim} on a Unix-like OS and \begin{verbatim} -client.exe 192.168.0.1 9 22222 11111 +client.exe 192.168.0.1 9 0 22222 11111 \end{verbatim} on Windows provided your local IP address is 192.168.0.1. |