Re: [Wormux-dev] Windows server problem and logic trouble in Network::ServerStart

2007-08-22 Par sujet Kurosu
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

[Wormux-dev] Windows server problem and logic trouble in Network::ServerStart

2007-08-21 Par sujet Kurosu
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