This block opens a client TCP streaming socket on the selected ip address and port.
- host: IP address to connect to.
- port: Port to connect on.
- message: Message to send to the socket once connected.
None
None
Upon receipt of any input signal this block will open a socket connection, send the message, and collect any response.
This block will output a 'response' signal containing the response from the socket up to 8192 bytes.
This block binds a streaming TCP Server socket on the selected IP address and port. Spawns thread to listen for new remote connections with a backlog queue of 1. Does not send responses to remote clients.
- host: IP address to bind server
- port: Port to bind server
None
None
None
Notifies one signal for each received packet (up to 1024 bytes).
data
: Bytefield of packet receivedaddr
: Tuple of remote client's address and port