User manual
Connect Tech Blue Heat/Net User Manual
44 Revision 0.17
Raw TCP Server and Client Options
Blue Heat/Net serial ports can be configured to transmit/receive data using standard TCP. You
can configure the port to behave as a server, allowing a remote device to make a TCP socket
connection; or a client, enabling the Blue Heat/Net to initiate TCP-based contact with a remote
device.
Raw TCP Server
When configured to use the Raw TCP Server personality, the Blue Heat/Net will use a TCP port
to listen for an incoming connection via TCP from a remote computer or device. Once a
connection is established, any data sent to the Blue Heat/Net through the TCP/IP connection is
transmitted on the appropriate serial port. Any data received by the serial port is sent through the
TCP/IP connection to the remote computer or device.
To configure your Blue Heat/Net serial port to behave as a TCP server, choose the personality
option Raw TCP Server and click Configure. The Raw TCP Server page requires you specify the
TCP Port used for incoming connections. Specify the TCP Port number in the input box and click
Submit. (The server needs a unique TCP Port number for each serial port). You will be
prompted to Save to Flash. Reboot the Blue Heat/Net.
Figure 12: Raw TCP Server configuration
Raw TCP Client
When configured to use the Raw TCP Client, the Blue Heat/Net will use the specified IP address
and TCP port to connect to a remote computer or device. The Blue Heat/Net will continue to
attempt a connection every 3 seconds until one is established. Once connected, any data sent to
the Blue Heat/Net through the TCP/IP is transmitted on the appropriate serial port. Any data
received by the appropriate serial port is sent through the TCP/IP connection to the remote
computer or device.
To configure the Blue Heat/Net serial port to behave as a TCP client, choose the personality
option Raw TCP Client and click Configure. The Raw TCP Client page requires you specify the IP
Address to which the Blue Heat/Net will try to connect. The IP address can be specified in the
input box in the format 1.2.3.4 or as a DNS name (www.connecttech.com, for example). Specify
the TCP Port number and click Submit. You will be prompted to Save to Flash. Reboot the Blue
Heat/Net.