Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
Old 01-09-2009, 01:48 AM   #1
Hyena
New Member
 
Join Date: Nov 2008
Posts: 23
Hyena is on a distinguished road
ROM sockets : no communication for long time

What happens if the client is connected to the MUD server and sits quietly in its account menu for an hour changing no information with the server? Usually muds disconnect clients that sit quietly for more than say 10 minutes. Why is that important? What happens on the low level of processes?

Why does a mud have to disconnect you if no information is changed during long time?
Hyena is offline   Reply With Quote
Old 01-09-2009, 04:05 AM   #2
Zivilyn
Member
 
Join Date: Sep 2005
Name: Dave
Location: Oregon
Home MUD: Ansalon.net
Posts: 89
Zivilyn is on a distinguished road
Re: ROM sockets : no communication for long time

On mine I have it set to boot players that haven't touched the keys in 30 minutes. Or was it 40, I forget, but basically it's an interactive game not a play by email/post type game so the players are expected to actually be at the computer playing the game. I even disconnect IMMS that are idle if it's above 60 minutes, idea being that if you haven't looked at the computer for an hour? You're not there.
Zivilyn is offline   Reply With Quote
Old 01-09-2009, 05:24 AM   #3
Kylotan
Member
 
Join Date: Jun 2003
Location: Nottingham, UK
Home MUD: Abattoir (Smaug)
Home MUD: ex-Jellybean (Smaug)
Home MUD: ex-Dark Chambers (Merc)
Posts: 174
Kylotan is on a distinguished road
Send a message via ICQ to Kylotan Send a message via AIM to Kylotan Send a message via MSN to Kylotan Send a message via Yahoo to Kylotan
Re: ROM sockets : no communication for long time

It's not important. Maybe 18 years ago when DIKU first started out, file handles and/or sockets were a more limited resource and therefore you didn't want non-players consuming them. These days, it's probably not an issue unless you have hundreds of simultaneous players.

Nothing. TCP connections are quite happy to sit there idle for days. Certain network conditions might cause the connection to be broken, perhaps only when one side or the other attempts to send some data, but that doesn't matter to you really.
Kylotan is offline   Reply With Quote
Old 01-09-2009, 07:53 AM   #4
Hyena
New Member
 
Join Date: Nov 2008
Posts: 23
Hyena is on a distinguished road
Re: ROM sockets : no communication for long time

I see, thanks for the information. The thing is that I am experiencing some weird crash bug problem. It has something to do with idle sitting in your account menu but as much as I have tried I am not able to make it crash. Only several players can do it as they quit to their account menu and come back later and start a new connection when the old one is still active, they will be asked to log in anyway as they were already connected. If that player now answers Yes then it crashes. I was wondering if it has something to do with a died connection.. It's a fudge I cannot call the bug by myself
Hyena is offline   Reply With Quote
Old 01-09-2009, 09:36 AM   #5
Kylotan
Member
 
Join Date: Jun 2003
Location: Nottingham, UK
Home MUD: Abattoir (Smaug)
Home MUD: ex-Jellybean (Smaug)
Home MUD: ex-Dark Chambers (Merc)
Posts: 174
Kylotan is on a distinguished road
Send a message via ICQ to Kylotan Send a message via AIM to Kylotan Send a message via MSN to Kylotan Send a message via Yahoo to Kylotan
Re: ROM sockets : no communication for long time

Doesn't sound anything to do with low-level networking to me. Just sounds like your 'account menu' (which isn't stock ROM, is it?) doesn't properly handle the situation where a new connection disconnects it. Perhaps you're not nulling the reference to the char_data when you drop back to the menu or something like that.
Kylotan is offline   Reply With Quote
Old 01-09-2009, 10:46 AM   #6
Hyena
New Member
 
Join Date: Nov 2008
Posts: 23
Hyena is on a distinguished road
Re: ROM sockets : no communication for long time

Yeah, seems to be so. Thanks.
Hyena is offline   Reply With Quote
Reply


Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 07:12 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022