6a8f90500f
< Bubblegumdrop> SDLNet_UDP_Open seems to call SDLNet_Read16 (which is just SDL_SwapBE16) < Bubblegumdrop> But on the server side I don't use SDLNet_UDP_Open to host the port < whitt> probably the sender was flipping it but the receiver wasn't and so they were incompatible < Bubblegumdrop> removing the SDL_SwapBE16 on the client side fixed it
7 lines
145 B
C
7 lines
145 B
C
#pragma once
|
|
|
|
#include <stddef.h> /* size_t */
|
|
|
|
int IsProbablyAscii (const void *, const size_t);
|
|
void HexDump (const void *, const size_t);
|