MFC 321881

For the udp-client example, instruct user to add an entry for a udp based
service.
For tcp-client & udp-client, use the same port in configuration snippet as used
in the comment prior to remove any ambiguity on the port number which needs to
be specified.
This commit is contained in:
Sevan Janiyan 2018-03-25 01:24:02 +00:00
parent 5a072c9a88
commit feb7ff9aec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=331513

View File

@ -523,7 +523,7 @@ compuserve:
# such as `rlogin' is involved, you may need to ``set escape 0xff''
#
tcp-client:
set device tcpsrv.mynet:1234
set device tcpsrv.mynet:6671
set dial
set login
set ifaddr 10.0.5.1 10.0.4.1 255.255.255.0
@ -538,10 +538,10 @@ tcp-server:
#
# and this in /etc/services:
#
# ppp 6671/tcp
# ppp 6671/udp
#
udp-client:
set device udpsrv.mynet:1234/udp
set device udpsrv.mynet:6671/udp
set dial
set login
set ifaddr 10.0.5.1 10.0.4.1 255.255.255.0