Navigation
Unreal Engine C++ API Reference > Runtime > Sockets
Inheritance Hierarchy
- FNoncopyable
- FVirtualDestructor
- FRecvMulti
References
Module | Sockets |
Header | /Engine/Source/Runtime/Sockets/Public/SocketTypes.h |
Include | #include "SocketTypes.h" |
Syntax
struct FRecvMulti :
public FNoncopyable ,
public FVirtualDestructor
Remarks
Stores the persistent state and packet buffers/data, for receiving packets with FSocket::RecvMulti. To optimize performance, use only once instance of this struct, for the lifetime of the socket.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
const int32 | MaxNumPackets | The maximum number of packets this FRecvMulti instance can support |
![]() |
const int32 | MaxPacketSize | The maximum packet size this FRecvMulti instance can support |
Constructors
No constructors are accessible with public or protected access.
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | CountBytes
(
FArchive& Ar |
Calculates the total memory consumption of this FRecvMulti instance, including platform-specific data |
![]() ![]() |
int32 | Retrieves the current number of received packets | |
![]() |
void | GetPacket
(
int32 PacketIdx, |
Retrieves the information for the specified packet |
![]() ![]() |
bool | GetPacketTimestamp
(
int32 PacketIdx, |
Returns the platform specific timestamp for when the specified packet was received by the operating system |