FSocket::SetReceiveBufferSize

Sets the size of the receive buffer to use.

Windows
MacOS
Linux

References

Module

Sockets

Header

/Engine/Source/Runtime/Sockets/Public/Sockets.h

Include

#include "Sockets.h"

Syntax

bool SetReceiveBufferSize
(
    int32 Size,
    int32 & NewSize
)

Remarks

Sets the size of the receive buffer to use.

Returns

true if the call succeeded, false otherwise.

Parameters

Parameter

Description

Size

The size to change it to.

NewSize

Will contain the size that was set (in case OS can't set that).

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