REMOTE-HOST attribute
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
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 (?).