# TCP/IP Client

Creates a TCP client which connects to the TCP server at the port and address configured.

Note:

If you have already created and connected to a TCP/IP device (Client and/or Server), and then want to deploy the project to a new environment that has another TCP/IP device with different configuration options, the TCP/IP device will have a broken link icon beside it.

1. To use the new device, from the Project Explorer, right-click on the TCP/IP device and select Reconnect.

2. This will launch the Parameter Configuration dialog, which will allow you to reconfigure the settings accordingly (allowing you to retain any previously constructed scripts).

Control | Description
--- | ---
Name | The name of the client device.
Remote Address | The IP Address of the TCP Server.
Port | Specifies the port number over which to communicate; this TCP port must be open across all firewalls in order to work.
Buffer Size | Specifies the size (minimum 1 byte, maximum 67108864 bytes; default = 8192) of the received data buffer for the TCP client device. The buffers are used to queue incoming messages. For example, if the Receive Data block is being used in a Task, and the block executes after the message was actually received, the message will be stored in the buffer, and processed the next time the block executes. Note: This setting can be used in conjunction with the Receive Data block.
Number of Buffers | Specifies the number of buffers (minimum 1 buffer, maximum 65536 buffers; default = 10) for the received data for the TCP client device. Note: This setting can be used in conjunction with the Receive Data block.