Ping - Intermec 6400 User Manual

Computer tcp/ip client
Hide thumbs Also See for 6400:
Table of Contents

Advertisement

6400 TCP/IP Client
2-34
6400 Computer TCP/IP Client User's Guide

Ping

ping [options] host
ping [-? | -version]
Use ping to determine if a host is active and to isolate host
connection problems. Ping sends an echo request to
another host and waits for a response, using ICMP.
Ping reports success with a Host responding" message
followed by statistics for the host that initiated the
connection. The command may also report failure with a
Ping failed" or Cannot resolve hostname" message
followed by statistics about the host that initiated the
connection.
Options -j, -k, -o, -r, -s, and -x add IP options to the
packet header. Options can be combined, and space is
allotted to a variable length option depending on what else
is selected. Variable length options take up three bytes of
header space in addition to whatever is used up by the
data. If the selected combination totals no more than 40
bytes, ping prints an error message and fails.
When typing options on the command line, leave a space
between the option and any values or arguments that
correspond to it.
When using ping with a 6400 computer, a useful command
line option for minimal output is -z. This option enables
you to easily view statistics on your 6400 computer's small
display. You can add -n 5 to generate five pings in
succession. An example is on page 2 39.
-d [bytes]
Displays header and debugging information
about the incoming packet. Use the bytes
value to specify the number of bytes to
display in hexadecimal notation. If you
specify the -t option with the -d option, the
program repeatedly contacts the target host
and displays the first input packet along
with a changing display of the number of
echoes.
SECTION 2

Advertisement

Table of Contents
loading

Table of Contents