| Message |
Do you do a #chatall - or a #chat <who> <message>?
If you do a #chatall, and don't notice the message about the dropped connection, then it is probably happily sending your chats to the reduced number of people in the chat group.
I think if you chat to a specific person, it should tell you if they are not connected.
Unfortunately, for you to get a "chat session closed" message, the client needs to be actively notified that the connection is dropped. However if a router silently discards a connection, this may not happen.
As an analogy, imagine if you were talking to someone on the phone, and they quietly put the phone down and walked away. You wouldn't realize they weren't there until you noticed they weren't replying to you.
The nature of TCP/IP is that if a packet is lost, it retries sending it, and thus it is possible for one end to not be sure if the other end is there, or not, for a minute or so.
What you might be able to do to help here is use a custom message number, in a script, to keep testing if the connection is still open. See near the bottom of this page:
http://www.gammon.com.au/mushclient/chat.htm
For example, each end could send each other a custom message every 5 seconds or so. Now if they don't *receive* a message after 10 seconds, they might assume the connection has been dropped. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|