FTcpSocketBuilder::Lingering

Sets how long the socket will linger after closing.

Windows
MacOS
Linux

References

Module

Networking

Header

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

Include

#include "Common/TcpSocketBuilder.h"

Syntax

FTcpSocketBuilder Lingering
(
    int32 Timeout
)

Remarks

Sets how long the socket will linger after closing.

Returns

This instance (for method chaining).

Parameters

Parameter

Description

Timeout

The amount of time to linger before closing.

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