Diarkis C++Client Library API Document
p2p.h File Reference
Include dependency graph for p2p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Diarkis::Modules::IDiarkisP2P
 Interface class for P2P. More...
 

Namespaces

 Diarkis
 
 Diarkis::Modules
 

Enumerations

enum  RudpType : uint8_t { UNRELIABLE_UNORDERED = 0, RELIABLE_UNORDERED = 1, RELIABLE_ORDERED = 2 }
 Type of P2P RUDP functionality. More...
 

Functions

DIARKIS_EXPORT IDiarkisP2P * Diarkis::Modules::DiarkisCreateP2P (std::shared_ptr< IDiarkisUdp > udp)
 Create IDiarkisP2P class. More...
 

Enumeration Type Documentation

◆ RudpType

enum RudpType : uint8_t

Type of P2P RUDP functionality.

Enumerator
UNRELIABLE_UNORDERED 

No guarantee of packet delivery and order (UDP)

RELIABLE_UNORDERED 

Guarantee packet delivery but not fixed order.

RELIABLE_ORDERED 

Guarantee packet delivery and order.