Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FSocket
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Accepts a connection that is pending. | Sockets.h | ||
FSocket * Accept
(
FInternetAddr& OutAddr, |
Accepts a connection that is pending. | Sockets.h |
Accept(const FString &)
Description
Accepts a connection that is pending.
| Name | Accept |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
| Include Path | #include "Sockets.h" |
FSocket * Accept
(
const FString & InSocketDescription
)
The new (heap-allocated) socket, or nullptr if unsuccessful.
Parameters
| Name | Remarks |
|---|---|
| SocketDescription | Debug description of socket, |
Accept(FInternetAddr &, const FString &)
Description
Accepts a connection that is pending.
| Name | Accept |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
| Include Path | #include "Sockets.h" |
FSocket * Accept
(
FInternetAddr & OutAddr,
const FString & InSocketDescription
)
The new (heap-allocated) socket, or nullptr if unsuccessful.
Parameters
| Name | Remarks |
|---|---|
| OutAddr | The address of the connection. |
| SocketDescription | Debug description of socket. |