avatarChat seems to "timeout"

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

taddle
Posts: 11
Joined: 25 Mar 2012, 18:14

avatarChat seems to "timeout"

Postby taddle » 04 Jun 2012, 10:50

I'm trying to make a basic game based on avatarChat to learn a bit more about development, and I'm stuck on a problem. Ever since I installed smartfoxserver, avatarChat seems to time out after a while. On the login screen, if you don't login within a certain amount of time, it won't let you login, and the output shows it sent the login request to the server, but it doesn't get anything back. Any suggestions?
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: avatarChat seems to "timeout"

Postby rjgtav » 04 Jun 2012, 20:00

Hello.
The problem you're facing is that your connection spends too much time idle, and so you're disconnected from the server. You can control the amount of time a connection needs to be idle before being disconnected by changing the <MaxSocketIdleTime> setting in the config.xml file of the server.
For more information regarding this setting you can check this documentation page.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
taddle
Posts: 11
Joined: 25 Mar 2012, 18:14

Re: avatarChat seems to "timeout"

Postby taddle » 05 Jun 2012, 14:32

Thanks dude, you're the best!

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 41 guests