Back to Adaptive Vision Studio website

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

TcpIp_WriteBuffer


Outputs a block of raw data through a connected TCP socket.

Name Type Description
inSocket SocketId Connected socket ID.
inBuffer ByteBuffer Buffer with data to send.

Description

This filter writes arbitrary bytes to a connected socket.

Data buffer for the inBuffer input can be prepared using filters from the Binary Data category.

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.

Hints

  • Connect inSocket with the output of TcpIp_Connect or TcpIp_Accept.
  • Connect the data you want to send to the inBuffer input.

Remarks

User manual

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

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

  • TcpIp_ReadLine – Reads from a connected TCP socket until receiving a specific sequence.
  • TcpIp_ReadBuffer – Receives a fixed number of bytes from a connected TCP socket.