instantreality 1.0

TCPClient

Receives data from or sends data to a server this backend 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" Address='0.0.0.0'
Port='0'
InitString=''
DeinitString=''
Delimiter='-1'
MaxBytes='-1'
 />
Classic encoding
IOSensor {
	type "TCPClient"
	Address "0.0.0.0"
	Port "0"
	InitString ""
	DeinitString ""
	Delimiter "-1"
	MaxBytes "-1"
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFString Address SFString initializeOnly 0.0.0.0 Address of the machine the backend connects to.
SFString Port SFString initializeOnly 0 Port the backend connects to
SFString InitString SFString initializeOnly A initialization string that is send to the server after opening the connection.
SFString DeinitString SFString initializeOnly A deinitialization string that is send to the server before closing the connection.
SFString 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.
SFString 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.