handmade/include/util.h
Bubblegumdrop 9e957d466f Client and Server tweaks. This commit breaks the Client.
Server listens correctly with threads and stdin reader thread.

Client does nothing currently gutting UDP_Write for a UDPbase class
introduced in this commit.
2022-01-08 18:59:40 -05:00

16 lines
320 B
C++

#pragma once
#include <string>
#include <stddef.h> /* size_t */
#include <SDL_net.h>
void error (const char*, ...);
int util_IsProbablyAscii (const void *, const size_t);
void util_HexDump (const void *, const size_t);
void util_UDP_DumpPacket (UDPpacket*);
int util_UDP_ApproximatePacketVSize (UDPpacket*);