FSimpleAbstractSocket::Receive

Block until we receive data from the socket

Windows
MacOS
Linux

Override Hierarchy

References

Module

Sockets

Header

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

Include

#include "NetworkMessage.h"

Syntax

bool Receive
(
    uint8 * Results,
    int32 Size
) const

Remarks

Block until we receive data from the socket

Returns

true if read is successful

Parameters

Parameter

Description

Results

Buffer of at least Size size, used to hold the results

Size

Number of bytes to read

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