URL: <http://gna.org/bugs/?11027>
Summary: never connects to remote host(s) Project: Battle for Wesnoth Submitted by: sapient Submitted on: Sunday 02/10/08 at 11:44 Category: Bug Severity: 4 - Important Priority: 5 - Normal Item Group: Networking Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Release: 1.3.15 Operating System: Windows XP Pro _______________________________________________________ Details: Ever since 1.3.15 and in svn, there is a network problem on my platform TCPsocket sock = SDLNet_TCP_Open(&ip); //network.cpp always returns "Can't connect to remote host" in SDLNet_GetError() I can't figure out what's causing it to fail, though :( The problem is also experienced when I run Yogi or Mists' 1.3.15 builds But 1.3.14 still works fine I added the following debug code and it can't connect still: TCPsocket sock = SDLNet_TCP_Open(&ip); int debugint = 99; if(!sock) { SDLNet_Quit(); debugint = SDLNet_Init(); } int retries = 10; while(!sock && retries-->0) { SDL_Delay(100); sock = SDLNet_TCP_Open(&ip); } if(!sock) { std::string debugstr = SDLNet_GetError(); error_ = hostname == NULL ? "Could not bind to port" : "Could not connect to host"; return; } _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?11027> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Wesnoth-bugs mailing list Wesnoth-bugs@gna.org https://mail.gna.org/listinfo/wesnoth-bugs