Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : REMOTE-HOST attribute
 

REMOTE-HOST attribute

Indicates the IP (Internet Protocol) address of the machine with which the socket object is communicating.
Data type: CHARACTER
Access: Read-only
Applies to: Socket object handle
When a server and client successfully establish a connection, both the server and client have a socket object that identifies this connection. On the client, this attribute returns the IP address of the server, and on the server, this attribute returns the IP address of the client. If the CONNECT( ) method fails or has not been called, this attribute returns the Unknown value (?).

See also

DB-REMOTE-HOST function