AcceptOnTCPSocket (open)

Accept an incoming connection on a TCP/IP socket

Syntax

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

INTEGER FUNCTION AcceptOnTCPSocket(INTEGER connectionid)

Parameters

INTEGER connectionid

Connection ID to use

Return value

INTEGER

ID of connection for new socket. If a negative ID is returned, an error has occured