FSocket::Wait

Blocks until the specified condition is met.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "Sockets.h"

Syntax

bool Wait
(
    ESocketWaitConditions::Type Condition,
    FTimespan WaitTime
)

Remarks

Blocks until the specified condition is met.

Returns

true if the condition was met, false if the time limit expired or an error occurred.

Parameters

Parameter

Description

Condition

The condition to wait for.

WaitTime

The maximum time to wait.

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