FSocket::HasPendingData

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

Choose your operating system:

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.