Module |
|
Header |
/Engine/Source/Runtime/Networking/Public/Common/TcpListener.h |
Include |
#include "Common/TcpListener.h" |
FTcpListener
(
const FIPv4Endpoint & LocalEndpoint,
const FTimespan & InSleepTime,
bool bInReusable
)
Creates and initializes a new instance from the specified IP endpoint.
Parameter |
Description |
---|---|
LocalEndpoint |
The local IP endpoint to listen on. |
SleepTime |
The maximum time to wait for a pending connection inside the polling loop (default = 1 second). |
Toggles |
socket-reusability which allows for other sockets to use the same address (default = true). |