Start » Filter Reference » System » TCP IP » TcpIp_WriteBuffer
Module: | FoundationLite |
---|
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
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.
- TcpIp_WriteText – Outputs a string through a connected TCP socket.
Application Notes: Using TCP IP Communication - document about connecting devices or establishing communication with Aurora Vision Studio.