Matrix1 Utility Plug-ins

# RECV SOCKET STRING$

Syntax

Value = RECV SOCKET STRING$ ( Handle )

Description

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)

Go back to ...

Matrix1Util_28 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011