Server socket object handle
- Last Updated: July 20, 2021
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
A handle to a server socket object. This object allows you to listen for and accept TCP/IP socket connections on a given port.
Note: Does not apply to SpeedScript
programming.
Syntax
|
- server-socket-handle
- A handle variable that references a server socket object created by the CREATE SERVER-SOCKET statement that, in turn, allows you to listen for and accept multiple connections on a given port.
- attribute
- An attribute of the server socket handle.
- method
- A method of the server socket handle.
Attributes
| HANDLE attribute | INSTANTIATING-PROCEDURE attribute | NAME attribute |
| NEXT-SIBLING attribute | PREV-SIBLING attribute | PRIVATE-DATA attribute |
| SENSITIVE attribute | TYPE attribute | – |
Methods
| DISABLE-CONNECTIONS( ) method | ENABLE-CONNECTIONS( ) method |
| SET-CONNECT-PROCEDURE( ) method | – |
Events
| CONNECT event | – |
Note
The server socket object is used to enable the AVM to listen to and accept new connections from socket clients; it is via the socket object that clients and servers communicate. For more information on using sockets, see OpenEdge Programming Interfaces.