Resolve TCP/IP Server Warning: Unable to Read All Data
These remedies apply when you receive some data and you get this warning message:
'tcpserver' unable to read all requested data
Try these remedies to resolve the following causes when you use the TCP/IP server
interface for reading binary data using the
|The number of values to read was set to a higher value than the number of values available to be read.
|Confirm that you set the correct number of values to read with
read function. Check the amount of data
available with the
tcpserver object. For information about
setting the number of values to read, see
|Client did not send all the requested data.
|Check your client connection. For more information about troubleshooting configuration and connection, see Troubleshooting TCP/IP Server Interface.
|There was a data format mismatch.
|Verify that the client data type matches the specified server
read data type. Specify the server data type with
read. For information about supported data