Tcp Versus Udp; Tcp Notes - Planar Wallnet Setup & Operation

Table of Contents

Advertisement

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:
sequence "\r\n" indicates a CR+LF pair.

TCP Notes

• Only one simultaneous TCP connection is
• If WallNet receives an empty line (no
• If WallNet receives a single Ctrl-D character
• If the data received by WallNet on a TCP
• An easy way to test a TCP connection to the
In the string values shown below, the
supported.
command text, followed by a CR or LF), it
responds with "# Clarity ASCII protocol server
ready (TCP).\r\n".
(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.
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.
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,
TCP Versus UDP
71

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for Planar Wallnet

Table of Contents