Matrix1 Utility Plug-ins

# SOCKET POLL READ

Syntax

Status = SOCKET POLL READ( Handle) Status = SOCKET POLL READ( Handle, Timeout )

Description

Allows you to check if data is waiting to be read from the specified socket. The amount of data available can be read using the SOCKET BYTES AVAILABLE() function. The return values are -1 if an error occurred, 0 if no data is available, 1 if there is data ready to read, and 2 if the remote has closed the connection (TCP only).

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