[SDL] Serious problems with SDL_net and OS X

Christopher Corkum hacker at nbnet.nb.ca
Wed Sep 28 16:13:14 PDT 2005

I'm using TCP - the game code is definately dependent on the packets of
data arriving for sure and in order.  I've got a simple error
checking/correcting system in there as well, in which the recieving end
sends back a short message saying if the packet arrived intact or not. 
It still doesn't help the problems I'm having because the packets don't
seem to -ever- get sent properly.

- Christopher Corkum

Steaphan Greene wrote:

>On Wed, Sep 28, 2005 at 03:46:25PM -0300, Christopher Corkum wrote:
>>I've got a problem here with a game I'm working on that I have been
>>pounding my head against for a while now - enough to make me put the
>>project on hold and work on something else.  I have a multiplatform
>>SDL/OpenGL game near completion that will compile on Linux, Windows, and
>>OS X without any problems, but for some reason, the SDL_net-based
>>multiplayer, while working 100% on Windows and Linux, -completely-
>>refuses to work on OS X. 
>Just to clarify, are you using UDP here (in which case packets may get
>lost or arrive out-of order), or TCP (in which case they should not)?
>SDL mailing list
>SDL at libsdl.org

More information about the SDL mailing list