Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FSocket
- FSocket::GetPeerAddress()
- FSocketEOS::GetPeerAddress()
References
| Module | Sockets |
| Header | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
| Include | #include "Sockets.h" |
bool GetPeerAddress
&40;
FInternetAddr & OutAddr
&41;
Remarks
Reads the address of the peer the socket is connected to. true if the address was retrieved correctly, false otherwise.
Parameters
| Name | Description |
|---|---|
| OutAddr | Address of the peer the socket is connected to. |