- Contents
Interaction Designer Help
TCP Read Integer
This File I/O tool reads an integer value passed in by another computer over a TCP/IP connection.
Inputs
Socket handle
A unique socket connection identifier generated by the TCP Connect or TCP/IP Connection Accepted.
Integer byte ordering
Different machine architectures sometimes store data using different byte orders. For example, Intel-based machines store data in the reverse order of Macintosh (Motorola) machines. If you are not sure of the byte ordering of the machine sending you the integer value, leave this value at the default true.
Read timeout
The number of seconds to wait for the integer before taking the Timeout exit path.
Outputs
Integer value
The read integer value.
Exit Paths
Success
This tool takes the Success exit path if the connection is established and a value is returned.
Timeout
This tool takes the Timeout exit path if nothing was read within the number of seconds specified in the Read timeout parameter.
Failure
This tool takes the Failure exit path if the socket handle is invalid.