TCPServer
supported on
Receives data from or sends data to clients that connect via TCP/IP to this node.
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="TCPServer" MaxBytes='-1' Delimiter='-1' DeinitString='' InitString='' Port='0' Address='' />
Classic encoding
IOSensor { type "TCPServer" MaxBytes "-1" Delimiter "-1" DeinitString "" InitString "" Port "0" Address "" }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
Address | SFString | initializeOnly | Address of the network interface the server listens at for clients. When you do not specify this parameter, the server listens at the default network interface. | |||
DeinitString | SFString | initializeOnly | A deinitialization string that is send to the client 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 client 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 server listens at for clients. When you do not specify this parameter, the server automatically chooses an available port. |