FSimpleAbstractSocket::Receive

Block until we receive data from the socket

Choose your operating system:

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