TSocketBase.getPeerAddress

Returns the actual address of the peer the socket is connected to.

In contrast, the host and port properties contain the address used to establish the connection, and are not updated after the connection.

The socket must be open when calling this.

class TSocketBase
Address
getPeerAddress
()

Meta