SDL_net
SDL_net copied to clipboard
A simple, cross-platform wrapper over TCP/IP sockets.
It's quite common to want to listen on, or connect to machines with multiple addresses. For the former, we can use NULL as an address, which does work as an...
@icculus: I get strict-aliasing warnings from voipchat.c from gcc 0) { - ((Uint64 *) scratch_area)[0] = SDL_SwapLE64(0); /* just being nice and leaving space in the buffer for the server...
`SDLNet_SendDatagram` fails with the error `Failed to send from socket: The system detected an invalid pointer address in attempting to use a pointer argument in a call.` on windows if...
SDL2_net had a way to enable or disable UDP broadcasts https://github.com/libsdl-org/SDL_net/blob/8e1e4bfcb7b3ba42b778dd7af2c38264ee9561b4/src/SDLnetUDP.c#L185 it will be nice to also have them in SDL3_net.
SDL_net 78dc78694f17317b08ec788d4812e74850b4acff SDL d95f5bad2459608816cbf24f14dcab618a4a9ab7 prerelease-3.1.2 Hi, when setting a timeout, `SDLNet_WaitUntilResolved` has broken behaviour. This can be reproduced using one of the examples: ```patch diff --git a/examples/resolve-hostnames.c b/examples/resolve-hostnames.c index ac28e7b..0efae0d...