UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSimpleAbstractSocket_FMultichannelTCPSocket Class Reference

#include <NetworkMessage.h>

+ Inheritance diagram for FSimpleAbstractSocket_FMultichannelTCPSocket:

Public Member Functions

 FSimpleAbstractSocket_FMultichannelTCPSocket (class FMultichannelTcpSocket *InSocket, uint32 InSendChannel, uint32 InReceiveChannel=0)
 
virtual SOCKETS_API bool Receive (uint8 *Results, int32 Size) const
 
virtual SOCKETS_API bool Send (const uint8 *Buffer, int32 Size) const
 
virtual uint32 GetMagic () const
 
- Public Member Functions inherited from FSimpleAbstractSocket
virtual ~FSimpleAbstractSocket ()
 

Detailed Description

Multichannel socket version of FSimpleAbstractSocket

Constructor & Destructor Documentation

◆ FSimpleAbstractSocket_FMultichannelTCPSocket()

FSimpleAbstractSocket_FMultichannelTCPSocket::FSimpleAbstractSocket_FMultichannelTCPSocket ( class FMultichannelTcpSocket InSocket,
uint32  InSendChannel,
uint32  InReceiveChannel = 0 
)
inline

Constructor

Parameters
InSocketMultichannel socket to forward requests to
InSendChannelChannel to send to
InReceiveChannelChannel to receive from, defaults to the sending channel

Member Function Documentation

◆ GetMagic()

virtual uint32 FSimpleAbstractSocket_FMultichannelTCPSocket::GetMagic ( ) const
inlinevirtual

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

Implements FSimpleAbstractSocket.

◆ Receive()

bool FSimpleAbstractSocket_FMultichannelTCPSocket::Receive ( uint8 Results,
int32  Size 
) const
virtual

Block until we receive data from the socket

Parameters
ResultsBuffer of at least Size size, used to hold the results
SizeNumber of bytes to read
Returns
true if read is successful

Implements FSimpleAbstractSocket.

◆ Send()

bool FSimpleAbstractSocket_FMultichannelTCPSocket::Send ( const uint8 Buffer,
int32  Size 
) const
virtual

Send bytes out the socket

Parameters
BufferBuffer containing bytes to send
SizeNumber of bytes to send
Returns
true if read is successful

Implements FSimpleAbstractSocket.


The documentation for this class was generated from the following files: