Navigation
API > API/Runtime > API/Runtime/Sockets > API/Runtime/Sockets/FSocket
Description
Attempt to enable UDP segmentation offload (USO). Where supported, this reduces overhead by automatically splitting "superpackets" which exceed the specified segment size into multiple datagrams.
| Name | SetSendSegmentationOffloadSize |
| Type | function |
| Header File | /Engine/Source/Runtime/Sockets/Public/Sockets.h |
| Include Path | #include "Sockets.h" |
| Source | /Engine/Source/Runtime/Sockets/Private/Sockets.cpp |
virtual bool SetSendSegmentationOffloadSize
(
uint16 InSegmentPayloadBytes
)
True if the call succeeded, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InSegmentPayloadBytes | Number of payload bytes for each split segment. |