API reference
API reference
Select your platform
No SDKs available
No versions available

OVR_Packet.h File

A packet owned by an ovrInstalledApplicationHandle is a basic unit of data transmission over a network, allowing devices to communicate with each other efficiently and reliably. UDP and TCP are two protocols that govern how those packets are transmitted over a network. UDP is suitable for applications that require fast transmission and can tolerate some packet loss, while TCP is better suited for applications that require reliable data transfer.

Typedefs

struct ovrPacket * ovrPacketHandle

Functions

This method is used to release the memory of a packet which is owned by an ovrInstalledApplicationHandle and contains data transmitted over the network.
This size field represents the size of the packet in bytes. Ideally, it is recommended to keep a message under 1200 bytes so that data can fit into a single packet.
This id field represents the id of the sender of the packet.
size_t ovr_Packet_GetSize
( const ovrPacketHandle obj )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon