FSocket::HasPendingData

Queries the socket to determine if there is pending data on the queue.

Windows
MacOS
Linux

References

Module

Sockets

Header

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

Include

#include "Sockets.h"

Syntax

bool HasPendingData
(
    uint32 & PendingDataSize
)

Remarks

Queries the socket to determine if there is pending data on the queue.

Returns

true if the socket has data, false otherwise.

Parameters

Parameter

Description

PendingDataSize

Will indicate how much data is on the pipe for a single recv call.

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