Get the address of the remote endpoint to which this transport is connected.
Synopses
Declared in <folly/io/async/AsyncTransport.h>
Get the address of the remote endpoint to which this transport is connected.
SocketAddress
getPeerAddress() const;
Get the address of the remote endpoint to which this transport is connected.
virtual
void
getPeerAddress(SocketAddress* address) const = 0;
Return Value
Return the remote endpoint's address
Parameters
Name |
Description |
address |
The remote endpoint's address will be stored in the specified SocketAddress. |
Created with MrDocs