Discussion:
[SDL] SDL Net issues
djkarstenv
2016-12-30 14:51:28 UTC
Permalink
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!

:)
oviano
2017-01-04 12:52:17 UTC
Permalink
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.
Alex Barry
2017-01-04 13:07:22 UTC
Permalink
Can you paste your TCP server binding code? Also what version of SDL_net?
Post by 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!
[image: Smile]
_______________________________________________
SDL mailing list
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Loading...