![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SocketTypes.h>
Inheritance diagram for FRecvMulti:Public Member Functions | |
| void | GetPacket (int32 PacketIdx, FReceivedPacketView &OutPacket) |
| virtual bool | GetPacketTimestamp (int32 PacketIdx, FPacketTimestamp &OutTimestamp) const =0 |
| int32 | GetNumPackets () const |
| virtual SOCKETS_API void | CountBytes (FArchive &Ar) const |
Public Member Functions inherited from FVirtualDestructor | |
| virtual | ~FVirtualDestructor () |
Public Attributes | |
| const int32 | MaxNumPackets |
| const int32 | MaxPacketSize |
Friends | |
| struct | FUnixRecvMulti |
| class | FSocketUnix |
Additional Inherited Members | |
Protected Member Functions inherited from FNoncopyable | |
| FNoncopyable () | |
| ~FNoncopyable () | |
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.
Calculates the total memory consumption of this FRecvMulti instance, including platform-specific data
| Ar | The archive being used to count the memory consumption |
|
inline |
Retrieves the current number of received packets
|
inline |
Retrieves the information for the specified packet
| PacketIdx | The RecvMulti index for the packet to be retrieved |
| OutPacket | Outputs a view to the received packet |
|
pure virtual |
Returns the platform specific timestamp for when the specified packet was received by the operating system
| PacketIdx | The index into Packets, of the packet to be checked |
| OutTimestamp | The timestamp for the specified packet |
|
friend |
| const int32 FRecvMulti::MaxNumPackets |
The maximum number of packets this FRecvMulti instance can support
| const int32 FRecvMulti::MaxPacketSize |
The maximum packet size this FRecvMulti instance can support