Navigation
API > API/Runtime > API/Runtime/Networking > API/Runtime/Networking/FUdpSocketBuilder
Description
Specifies the desired size of the receive buffer in bytes (0 = default).
The socket creation will not fail if the desired size cannot be set or if the actual size is less than the desired size.
| Name | WithReceiveBufferSize |
| Type | function |
| Header File | /Engine/Source/Runtime/Networking/Public/Common/UdpSocketBuilder.h |
| Include Path | #include "Common/UdpSocketBuilder.h" |
FUdpSocketBuilder & WithReceiveBufferSize
(
int32 SizeInBytes
)
This instance (for method chaining).
Parameters
| Name | Remarks |
|---|---|
| SizeInBytes | The size of the buffer. |
See Also
- WithSendBufferSize