TCPClient
supported on
Receives data from or sends data to a server this node connects to via TCP/IP.
Please check out the tutorial on input/output streams for further information on how to use devices. Due to technical reasons the input and output fields of a device can only be determined at runtime and therefore do not appear in this interface description. Use the "Web Interface Device Management" entry in the "Help" menu of a running InstantPlayer to determine available input and output fields of a device.
Inheritance
Code
XML encoding
<IOSensor type="TCPClient" MaxBytes='-1' Delimiter='-1' DeinitString='' InitString='' Address='' Port='0' />
Classic encoding
IOSensor { type "TCPClient" MaxBytes "-1" Delimiter "-1" DeinitString "" InitString "" Address "" Port "0" }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
Address | SFString | initializeOnly | Address of the machine the node connects to. | |||
DeinitString | SFString | initializeOnly | A deinitialization string that is send to the server before closing the connection. | |||
Delimiter | SFString | initializeOnly | -1 | The ASCII code of the delimiting character that separates messages. A value of -1 means that there is no delimiting character. | ||
InitString | SFString | initializeOnly | A initialization string that is send to the server after opening the connection. | |||
MaxBytes | SFString | initializeOnly | -1 | The maximum number of bytes a message consists of. A value of -1 means that there is no maximum number of bytes. | ||
Port | SFString | initializeOnly | 0 | Port the node connects to |