Kurosu a écrit :
> I've validated such point by having a variable count the number of
> existing instances of objects derived from Network, and only calling
> SDLNet_Quit() when it reaches 0. This pseudo-refcounting does fix the
> problem of the initial connection.
This was committed to svn in
Hello,
Network first contains a singleton of type NetworkLocal. Indeed,
NetworkLocal as well as NetworkServer are derived from Network.
When asked to start server, above method is invoked. A NetworkServer is
created. Through it, SDL_Net is initialized, and on success Network's
singleton become