9e957d466f
Server listens correctly with threads and stdin reader thread. Client does nothing currently gutting UDP_Write for a UDPbase class introduced in this commit.
16 lines
320 B
C++
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*);
|