Navigation
API > API/Runtime > API/Runtime/Sockets
Simple abstraction for sockets that allows FNFSMessageHeader to use either an ordinary socket or a mutichannel socket
| Name | FSimpleAbstractSocket |
| Type | class |
| Header File | /Engine/Source/Runtime/Sockets/Public/NetworkMessage.h |
| Include Path | #include "NetworkMessage.h" |
Syntax
class FSimpleAbstractSocket
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSimpleAbstractSocket() |
Destructor | NetworkMessage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 GetMagic() |
Return the magic number for this message, also used for endian correction on the archives | NetworkMessage.h | |
bool Receive
(
uint8* Results, |
Block until we receive data from the socket | NetworkMessage.h | |
bool Send
(
const uint8* Buffer, |
Send bytes out the socket | NetworkMessage.h |