Page 2 of 2
Re: Console server
Posted: Mon Jul 13, 2009 3:44 pm
by Sparx
I started the serve on a linux console server. servr is up and running but doesn't seem to listen to any port (yes they are opened). Maybee it's some linux setting or something else... does anybody know?
Re: Console server
Posted: Mon Jul 13, 2009 5:19 pm
by bartbes
Are you sure they are opened on UDP and you test it using UDP?
Re: Console server
Posted: Mon Jul 13, 2009 5:30 pm
by Sparx
I am using the exact same code as on windows.
Doing some UDP port checks later..
Sparx wrote:Somehow my ping is either 0, 16 or 32..... so there is still some timing issue here. (using socket.sleep(0.001))
doe anyone have a clue why this is?
Re: Console server
Posted: Mon Jul 13, 2009 8:05 pm
by Sparx
The programm doesn't seemt to open any socket....
Re: Console server
Posted: Mon Jul 13, 2009 8:14 pm
by bartbes
It sounds like the firewall allows TCP, but not UDP to pass on those ports.
Re: Console server
Posted: Mon Jul 13, 2009 9:17 pm
by Sparx
The programm doesn't open any socket(according to netstat).
The firewall is allright afaik.
found out that one timing problem is that socket.gettime() is very unprecise(resolution 16ms). Is there another way calculating smal time differences?