FSimpleAbstractSocket_FSocket

Ordinary socket version of [FSimpleAbstractSocket](API\Runtime\Sockets\FSimpleAbstractSocket)

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FSimpleAbstractSocket

FSimpleAbstractSocket_FSocket

References

Module

Sockets

Header

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

Include

#include "NetworkMessage.h"

Syntax

class FSimpleAbstractSocket_FSocket : public FSimpleAbstractSocket

Remarks

Ordinary socket version of FSimpleAbstractSocket

Constructors

Name Description

Public function

FSimpleAbstractSocket_FSocket

(
    FSocket* InSocket
)

Constructor

Overridden from FSimpleAbstractSocket

Name Description

Public function Virtual Const

uint32

 

GetMagic()

Return the magic number for this message, also used for endian correction on the archives

Public function Virtual Const

bool

 

Receive

(
    uint8* Results,
    int32 Size
)

Block until we receive data from the socket

Public function Virtual Const

bool

 

Send

(
    const uint8* Buffer,
    int32 Size
)

Send bytes out the socket