| FRunnable
|
Module |
|
Header |
/Engine/Source/Runtime/Networking/Public/Common/TcpListener.h |
Include |
#include "Common/TcpListener.h" |
class FTcpListener : public FRunnable
Implements a runnable that listens for incoming TCP connections.
Name | Description | |
---|---|---|
|
FTcpListener ( |
Creates and initializes a new instance from the specified IP endpoint. |
|
FTcpListener |
Creates and initializes a new instance from the specified socket. |
Name | Description | |
---|---|---|
|
~FTcpListener() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
const FIPv4E... |
GetLocalEndpoint() |
Gets the listener's local IP endpoint. |
|
FSocket *... |
GetSocket() |
Gets the listener's network socket. |
|
IsActive() |
Checks whether the listener is listening for incoming connections. |
|
|
FOnTcpListen... |
OnConnectionAccepted() |
Gets a delegate to be invoked when an incoming connection has been accepted. |