FSimpleAbstractSocket_FMultichannelTCPSocket

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

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FSimpleAbstractSocket

FSimpleAbstractSocket_FMultichannelTCPSocket

References

Module

Sockets

Header

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

Include

#include "NetworkMessage.h"

Syntax

class FSimpleAbstractSocket_FMultichannelTCPSocket : public FSimpleAbstractSocket

Remarks

Multichannel socket version of FSimpleAbstractSocket

Constructors

Name Description

Public function

FSimpleAbstractSocket_FMultichannelTCPSocket

(
    FMultichannelTcpSocket* InSock...,
    uint32 InSendChannel,
    uint32 InReceiveChannel
)

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