[SDL] weird connection problem with sdl-net
Chris Nystrom
cnystrom at gmail.com
Sat Feb 18 19:52:58 PST 2006
On 2/18/06, Roger D. Vargas <roger at ehtsc.co.cu> wrote:
> Im developing an UDP client-server application using sdl-net. Since I
> wrote the first lines of code I have been testing in both Windows and
> Linux, and the code works. But some day, for some unknown reason, the
> code stopped working in Windows. When I run the client and server in my
> linux box I can connect perfectly. When I run the client on windows, it
> cant connect, not to the server in linux or in the same windows host.
> Also, if I run the server in windows and the clint on linux, the
> connection fails.
> CAn somebody give me an idea about what could be happening here?
TCP is fairly easy to troubleshoot by simply using telnet to test.
Unfortunatley this does not work with UDP. For UDP I have found that a
utility like netcat to be invaluable for troubleshooting.
Also, if this was working but no longer works, have you changed the
code in the intrim? If yes, can you test if the old code still works?
If no, were there any changes in the system configurations?
Another strategy would be to reduce down to have some small simple UDP
test programs and make sure they work, and then build from there.
Chris
--
E-Mail: Chris Nystrom <cnystrom at gmail.com>
http://www.newio.org/
AIM: nystromchris
More information about the SDL
mailing list