Socket.host

String host

Description

The name of the remote computer when a connection is established.

If the connection is shut down or does not exist, the property contains the empty string.