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...
I noticed that the Android.mk file is missing for SDL3_net, required for compilation? I've made one based on the old Android.mk and the current SDL3 Android.mk: ``` LOCAL_PATH := $(call...
> Most of the things returning int are doing -1==failure, 1==success, 0==wouldblock. > > These sort of three-state return codes moved to enums in SDL3 (SDL_AppResult, SDL_EnumResult, etc), and we...
This allows you to bind the `voipchat` server to `127.0.0.1` or `::1`. This change is motivated by the following observations of current `voipchat`: When running `voipchat --server`, it was unclear...
`voipchat` does not work over ipv6. Using #109, running the server as `voipchat --server ::1` or `voipchat --server ::/0` , and running the clients as `voipchat ::1` or `voipchat localhost`...
Required to build a SDL3_net dmg, providing a xcframework for (most) Apple platforms.