Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » TCP IP » TcpIp_WriteObject

TcpIp_WriteObject


Sends an object through a connected TCP socket.

Name Type Range Description
inObject <T> Input object to be sent.
inTimeout Integer* 100 - Timeout in milliseconds, block if not specified.
inSocket SocketId Connected socket ID.

The type of this filter is defined using the type variable T which represents any valid type. Read more.

Description

This filter allows writing an arbitrary Adaptive Vision environment objects to a connected socket.

The data which is sent must be received by an Adaptive Vision Studio or Adaptive Vision Executor process executing TcpIp_ReadObject filter of the same type.

This filter can raise IoError when the connection is broken or closed by the other side, when the output buffer overflows because the other side is not receiving data or receiving data too slow, or when other network-related error occurred.

Remarks

User manual

For more information about using this filter, please follow the link: Using TCP/IP Communication.

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.

Complexity Level

This filter is available on Basic Complexity Level.

Disabled in Lite Edition

This filter is disabled in Lite Edition. It is available only in full, Adaptive Vision Studio Professional version.

See Also