SDL Net issues

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SDL Net issues

djkarstenv
Hi All,

Just a quick question...I am writing a small application to connect two computers using SDL Net. However the whole application seems to freeze for 10-15 seconds when calling SDLNet_TCP_Open(). Afterwards it creates the server socket no problem, but why is it taking so long to create / open the socket?

I am using Windows 10, could there be network issues associated with the OS that seems to block SDL Net?

Please help.

Many thanks!

Smile

_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Reply | Threaded
Open this post in threaded view
|

Re: SDL Net issues

oviano
I haven't seen that behaviour myself...you could try using telnet to connect to the same address and see if that also takes a long time?

This might help determine whether it's something about your network setup or SDL_net.

_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Reply | Threaded
Open this post in threaded view
|

Re: SDL Net issues

Alex Barry
In reply to this post by djkarstenv
Can you paste your TCP server binding code? Also what version of SDL_net?

On Dec 30, 2016 9:51 AM, "djkarstenv" <[hidden email]> wrote:
Hi All,

Just a quick question...I am writing a small application to connect two computers using SDL Net. However the whole application seems to freeze for 10-15 seconds when calling SDLNet_TCP_Open(). Afterwards it creates the server socket no problem, but why is it taking so long to create / open the socket?

I am using Windows 10, could there be network issues associated with the OS that seems to block SDL Net?

Please help.

Many thanks!

Smile

_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________
SDL mailing list
[hidden email]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org