![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NetworkMessage.h>
Inheritance diagram for FSimpleAbstractSocket:Public Member Functions | |
| virtual bool | Receive (uint8 *Results, int32 Size) const =0 |
| virtual bool | Send (const uint8 *Buffer, int32 Size) const =0 |
| virtual uint32 | GetMagic () const =0 |
| virtual | ~FSimpleAbstractSocket () |
Simple abstraction for sockets that allows FNFSMessageHeader to use either an ordinary socket or a mutichannel socket
|
inlinevirtual |
Destructor
return the magic number for this message, also used for endian correction on the archives
Implemented in FSimpleAbstractSocket_FSocket, and FSimpleAbstractSocket_FMultichannelTCPSocket.
Block until we receive data from the socket
| Results | Buffer of at least Size size, used to hold the results |
| Size | Number of bytes to read |
Implemented in FSimpleAbstractSocket_FSocket, and FSimpleAbstractSocket_FMultichannelTCPSocket.
Send bytes out the socket
| Buffer | Buffer containing bytes to send |
| Size | Number of bytes to send |
Implemented in FSimpleAbstractSocket_FSocket, and FSimpleAbstractSocket_FMultichannelTCPSocket.