Console server

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Sparx
Party member
Posts: 125
Joined: Thu Apr 02, 2009 9:54 am
Location: Aachen, Germany

Re: Console server

Post 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?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Console server

Post by bartbes »

Are you sure they are opened on UDP and you test it using UDP?
User avatar
Sparx
Party member
Posts: 125
Joined: Thu Apr 02, 2009 9:54 am
Location: Aachen, Germany

Re: Console server

Post 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?
User avatar
Sparx
Party member
Posts: 125
Joined: Thu Apr 02, 2009 9:54 am
Location: Aachen, Germany

Re: Console server

Post by Sparx »

The programm doesn't seemt to open any socket....
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Console server

Post by bartbes »

It sounds like the firewall allows TCP, but not UDP to pass on those ports.
User avatar
Sparx
Party member
Posts: 125
Joined: Thu Apr 02, 2009 9:54 am
Location: Aachen, Germany

Re: Console server

Post 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?
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests