35 #include <libplayercore/globals.h>
36 #include <libplayercore/wallclocktime.h>
38 #define PACKET_LEN 256
43 unsigned char packet[PACKET_LEN];
51 int Build(
unsigned char *data,
unsigned char datasize );
53 int Receive(
int fd,
bool ignore_checksum );
54 bool Check(
bool ignore_checksum =
false );
57 if ( size != p.size)
return(
true);
59 if ( memcmp( packet, p.packet, size ) != 0 )
return (
true);
Definition: p2os/packet.h:40