getPeerAddress overloads
Declared in <folly/io/async/AsyncTransport.h>
Get the address of the remote endpoint to which this transport is connected.
SocketAddress
getPeerAddress() const;
» more...
Get the address of the remote endpoint to which this transport is connected.
virtual
void
getPeerAddress(SocketAddress* address) const = 0;
» more...
Store the peer address of the wrapped transport.
virtual
void
getPeerAddress(folly::SocketAddress* address) const override;
» more...
Return the remote endpoint's address
| Name | Description |
|---|---|
| address | The remote endpoint's address will be stored in the specified SocketAddress. |