LOCAL-HOST attribute

Indicates the IP (Internet Protocol) address of the machine the socket object is communicating with.

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 and on the server, this attribute returns the IP address of the machine which is making the request. If the CONNECT method failed, this attribute returns the Unknown value (?).