CREATE SOCKET statement

Creates a socket object and assigns it to the handle variable specified. It is through this object that the application can connect to a TCP/IP port and read and write on the socket bound to the port.

Syntax

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

See also

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