Clear buffers for communication with remote host over TCP/IP
Flush Remote Host Inputs and Outputs
Create a TCP/IP client called
t, using the IP address
172.28.154.231 and port
t = tcpclient("172.28.154.231",4012)
t = tcpclient with properties: Address: '172.28.154.231' Port: 4012 NumBytesAvailable: 0 Show all properties, functions
Write some data to the remote host and view the number of bytes available to be read in the input buffer.
ans = 5
Flush both the input and output buffers.
View the number of bytes available to be read.
ans = 0
The input buffer has no data.