A handle to a socket object. This object allows you to read or write data on a TCP/IP socket and to perform other TCP/IP socket actions.

Syntax

socket-handle [ :attribute | :method ]
socket-handle
A handle variable that references a socket object created by the CREATE SOCKET statement and that allows you to connect to, read from and write to a socket.
attribute
An attribute of the socket handle.
method
A method of the socket handle.

Attributes

BYTES-READ attribute BYTES-WRITTEN attribute HANDLE attribute
INSTANTIATING-PROCEDURE attribute LOCAL-HOST attribute LOCAL-PORT attribute
NAME attribute NEXT-SIBLING attribute PREV-SIBLING attribute
PRIVATE-DATA attribute REMOTE-HOST attribute REMOTE-PORT attribute
SENSITIVE attribute SSL-SERVER-NAME attribute TYPE attribute

Methods

CONNECT( ) method (Socket object) CONNECTED( ) method
DISCONNECT( ) method (Handle) GET-BYTES-AVAILABLE( ) method
GET-SOCKET-OPTION( ) method READ( ) method (Socket)
SET-CALLBACK( ) method SET-READ-RESPONSE-PROCEDURE( ) method
SET-SOCKET-OPTION( ) method WRITE( ) method (Socket)

Events

READ-RESPONSE event

Note

The server socket object is used to enable 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.