Page 1 of 1

[SOLVED] LUBE server disconnect callback by unknown reason

Posted: Sun Jul 14, 2013 4:02 am
by reindeernix
Hi, first time posting on the forum ;)

I am learning how to use LUBE and I have created a clientside and serverside so far which connects to eachother and exchanges information.
But the problem is that after not doing anything in the clientside part for 10 sec or so, the server runs the disconnect callback.

Even though it runs the disconnect callback the client is still connected which can be seen since it still sends data to the server.

I want to know what is causing it and how I can fix it(if possible).

I have uploaded the serverside and clientside.

Thanks in advance :awesome:

Re: LUBE serverside runs disconnect callback by unknown reas

Posted: Sun Jul 14, 2013 4:37 am
by raidho36
Failure to respond to servers' ping causes disconnection, according to the LUBE manual.

Re: LUBE serverside runs disconnect callback by unknown reas

Posted: Sun Jul 14, 2013 3:05 pm
by reindeernix
raidho36 wrote:Failure to respond to servers' ping causes disconnection, according to the LUBE manual.
Thanks raid, I made it work by making the client ping every 3 seconds and the server ping every 9 seconds :3