TCP ACCEPT statement

Purpose

Accept an incoming request for communication from a specified TCP/IP port.

Syntax

TCP ACCEPT [#] fNum& AS newfNum&

Remarks

Accept an incoming connection request to the fNum& socket, and create a newfNum& socket handle to communicate with the new connection.

TCP ACCEPT is only valid with sockets opened using TCP OPEN SERVER.

See also

TCP and UDP communications, TCP CLOSE, TCP LINE INPUT, TCP NOTIFY, TCP OPEN, TCP PRINT, TCP RECV, TCP SEND, UDP OPEN