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
- An application can only create one server socket object. This statement
will raise ERROR if an application tries to create multiple objects.
- A server socket object cannot be used with an AppServer or WebSpeed agent.