Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FSocket > API/Runtime/Sockets/FSocket/Accept
- FSocket::Accept()
- FSocketEOS::Accept()
References
| Module | Sockets |
| Header | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
| Include | #include "Sockets.h" |
FSocket &42; Accept
&40;
FInternetAddr & OutAddr,
const FString & InSocketDescription
&41;
Remarks
Accepts a connection that is pending. The new (heap-allocated) socket, or nullptr if unsuccessful.
Parameters
| Name | Description |
|---|---|
| OutAddr | The address of the connection. |
| SocketDescription | Debug description of socket. |