Module |
|
Header |
/Engine/Source/Runtime/Networking/Public/Common/TcpSocketBuilder.h |
Include |
#include "Common/TcpSocketBuilder.h" |
class FTcpSocketBuilder
Implements a fluent builder for TCP sockets.
Name | Description | |
---|---|---|
|
FTcpSocketBuilder ( |
Creates and initializes a new instance. |
Name | Description | ||
---|---|---|---|
|
FTcpSocketBu... |
AsBlocking() |
Sets socket operations to be blocking. |
|
FTcpSocketBu... |
AsNonBlocking() |
Sets socket operations to be non-blocking. |
|
FTcpSocketBu... |
AsReusable() |
Makes the bound address reusable by other sockets. |
|
FTcpSocketBu... |
AsReusable ( |
Sets re-usability of the bound address by other sockets. |
|
FTcpSocketBu... |
BoundToAddress ( |
Sets the local address to bind the socket to. |
|
FTcpSocketBu... |
BoundToEndpoint ( |
Sets the local endpoint to bind the socket to. |
|
FTcpSocketBu... |
BoundToPort ( |
Sets the local port to bind the socket to. |
|
FSocket *... |
Build() |
Builds the socket as configured. |
|
FTcpSocketBu... |
Lingering ( |
Sets how long the socket will linger after closing. |
|
FTcpSocketBu... |
Listening ( |
Sets the socket into a listening state for incoming connections. |
|
FTcpSocketBu... |
WithReceiveBufferSize ( |
Specifies the desired size of the receive buffer in bytes (0 = default). |
|
FTcpSocketBu... |
WithSendBufferSize ( |
Specifies the desired size of the send buffer in bytes (0 = default). |
Name | Description | ||
---|---|---|---|
|
operator FSocket *() |
Implicit conversion operator that builds the socket as configured. |