ReadFromSocket (open)

Receive is used to receive data from a socket

Syntax

LOADLIB "wh::internet/tcpip.whlib";

STRING FUNCTION ReadFromSocket(INTEGER connectionid)

Parameters

INTEGER connectionid

ID of the connection to receive data from

Return value

STRING

Received data. If an empty string is returned, check GetLastSocketError to see which error occured