CREATE SERVER-SOCKET statement
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
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
|
- handle
- Variable of type HANDLE into which the
CREATE SERVER-SOCKETstatement stores the new server socket handle. - NO-ERROR
- The NO-ERROR option is used to prevent the
statement from raising
ERRORand displaying error messages.
Notes
- An application can only create one server socket object. This statement
will raise
ERRORif an application tries to create multiple objects. - A server socket object cannot be used with a Progress Application Server (PAS) for OpenEdge instance.
See also
CREATE SOCKET statement, DELETE OBJECT statement, NO-ERROR option, Server socket object handle, Socket object handle