Reads a string value from the specified socket.
You should use the GET SOCKET ERROR() command to check for errors, as no return value is reserved for signalling an error.
TCP
The way that the string is recieved depends on the settings specified using the SET SOCKET STRING TO DELIMITED or the SET SOCKET STRING TO SIZED.
UDP
The command will read an entire datagram into a string. If a zero-sized datagram is received, this is treated as an empty string (NOTE: You can send a zero-sized datagram by either using the low-level SEND SOCKET( ) or SEND TO SOCKET( ) functions, or by transmitting an empty string with the SEND SOCKET STRING( ) function) |