CREATE SERVER-SOCKET statement

Creates an instance of a server socket object and assigns it to the handle variable specified. It is through this object that a socket-based server application can listen for connections on a TCP/IP port.

Note: Does not apply to SpeedScript programming.

Syntax

CREATE SERVER-SOCKET handle[ NO-ERROR ]
handle
Variable of type HANDLE into which the CREATE SERVER-SOCKET statement stores the new server socket handle.
NO-ERROR
The NO-ERROR option is used to prevent the statement from raising ERROR and displaying error messages.

Notes

See also

CREATE SOCKET statement, DELETE OBJECT statement, NO-ERROR option, Server socket object handle, Socket object handle