14 #ifndef DATAGRAMUDPHEADER_H 15 #define DATAGRAMUDPHEADER_H 24 static const int datagram_udp_header_size =
sizeof(uint16_t);
39 INLINE
int get_datagram_checksum()
const;
40 INLINE std::string get_header()
const;
42 bool verify_datagram(
const NetDatagram &datagram)
const;
A specific kind of Datagram, especially for sending across or receiving from a network.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.