FUdpSocketBuilder::WithSendBufferSize

Specifies the desired size of the send buffer in bytes (0 = default).

Windows
MacOS
Linux

References

Module

Networking

Header

/Engine/Source/Runtime/Networking/Public/Common/UdpSocketBuilder.h

Include

#include "Common/UdpSocketBuilder.h"

Syntax

FUdpSocketBuilder & WithSendBufferSize
(
    int32 SizeInBytes
)

Remarks

Specifies the desired size of the send 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.

Returns

This instance (for method chaining).

Parameters

Parameter

Description

SizeInBytes

The size of the buffer.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss