History
Socket.Read
Home
•
Help
•
Customization Tools
•
FCAS
•
Language Reference
•
Socket.Read
Purpose
Receives data from a remote host through an Internet socket connection. To access the data, use Socket.Data.
Syntax
Socket
.Read (
Timeout
)
Timeout
The time (in seconds) to wait for data.
If there is no data, Socket.Read will return after this time.
If there is a problem with the connection or the socket object isn't connected when the read is attempted, an error is triggered.
Example
Dim sockme as Socket
sockme.Read (60)