FSimpleAbstractSocket_FSocket::Receive

Block until we receive data from the socket

Windows
MacOS
Linux

Override Hierarchy

FSimpleAbstractSocket::Receive()

FSimpleAbstractSocket_FSocket::Receive()

References

Module

Sockets

Header

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

Include

#include "NetworkMessage.h"

Source

/Engine/Source/Runtime/Sockets/Private/NetworkMessage.cpp

Syntax

virtual 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