CREATE SOCKET statement
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
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
|
- 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
ERRORand displaying error messages.
See also
CREATE SERVER-SOCKET statement, DELETE OBJECT statement, NO-ERROR option, Server socket object handle, Socket object handle