Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FSocket > API/Runtime/Sockets/FSocket/Accept
References
Module | Sockets |
Header | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
Include | #include "Sockets.h" |
FSocket * Accept
(
FInternetAddr & OutAddr,
const FString & InSocketDescription
)
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. |