71
TCP Versus UDP
TCP Versus UDP
Because of the different nature of TCP
connections and UDP datagrams (packets), the
behavior of the WallNet is slightly different
depending on whether the application is using a
TCP connection or UDP to send the display
commands.
Note:
In the string values shown below, the
sequence “\r\n” indicates a CR+LF pair.
TCP Notes
• Only one simultaneous TCP connection is
supported.
• If WallNet receives an empty line (no
command text, followed by a CR or LF), it
responds with “# Clarity ASCII protocol server
ready (TCP).\r\n”.
• If WallNet receives a single Ctrl-D character
(0x04) on a TCP connection, it sends “# Ctrl-D
closing connection.\r\n” and then closes its
end of the connection. Ctrl-D is a traditional
character used to signal that a client is
finished using a telnet connection.
• If the data received by WallNet on a TCP
connection contains any non-printable ASCII
characters (other than Ctrl-D and CR or LF).
WallNet responds “# ERR illegal character in
input [<i>] = 0x<XX>\r\n” where <i> is the
zero-based index into the string at which the
bad character appeared. The <XX> is the
hexadecimal value of the bad character. The
UDP server does not scan character by
character so it will not emit this message.
• An easy way to test a TCP connection to the
ASCII Command Service is to use any telnet
client program to connect to the WallNet at
its IP address and port 57. Telnet clients
default to port 23, but always have a way to
specify an alternate port. For example,
common command-line telnet clients take an
optional port argument after the IP address,
Содержание Wallnet
Страница 1: ...020 0567 05 19 Aug 2010 WallNet TM Setup Operation...
Страница 2: ......
Страница 14: ...What You Have in the WallNet Kit 8 Straight thru cable with RJ45 on both ends Mounting hardware DIN rail etc...
Страница 38: ...Saving the Configuration 32...
Страница 80: ...Network Use Summary 74...
Страница 84: ...Default WallNet IP Address 78...
Страница 88: ...82 WallNet Assistant Software program that finds WallNet hardware on a network...