Module |
|
Header |
/Engine/Source/Runtime/Networking/Public/Common/UdpSocketBuilder.h |
Include |
#include "Common/UdpSocketBuilder.h" |
class FUdpSocketBuilder
Implements a fluent builder for UDP sockets.
Name | Description | |
---|---|---|
|
FUdpSocketBuilder ( |
Creates and initializes a new instance. |
Name | Description | ||
---|---|---|---|
|
FUdpSocketBu... |
AsBlocking() |
Sets socket operations to be blocking. |
|
FUdpSocketBu... |
AsNonBlocking() |
Sets socket operations to be non-blocking. |
|
FUdpSocketBu... |
AsReusable() |
Makes the bound address reusable by other sockets. |
|
FUdpSocketBu... |
BoundToAddress ( |
Sets the local address to bind the socket to. |
|
FUdpSocketBu... |
BoundToEndpoint ( |
Sets the local endpoint to bind the socket to. |
|
FUdpSocketBu... |
BoundToPort ( |
Sets the local port to bind the socket to. |
|
FSocket *... |
Build() |
Builds the socket as configured. |
|
FUdpSocketBu... |
JoinedToGroup ( |
Joins the socket to the specified multicast group. |
|
FUdpSocketBu... |
JoinedToGroup ( |
Joins the socket to the specified multicast group. |
|
FUdpSocketBu... |
WithBroadcast() |
Enables broadcasting. |
|
FUdpSocketBu... |
WithMulticastInterface ( |
Sets the multicast outgoing interface. |
|
FUdpSocketBu... |
WithMulticastLoopback() |
Enables multicast loopback. |
|
FUdpSocketBu... |
WithMulticastTtl ( |
Sets the multicast time-to-live. |
|
FUdpSocketBu... |
WithReceiveBufferSize ( |
Specifies the desired size of the receive buffer in bytes (0 = default). |
|
FUdpSocketBu... |
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. |