Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Chat not hanging up properly?

Chat not hanging up properly?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Fluxo   (2 posts)  Bio
Date Wed 14 May 2003 09:39 AM (UTC)
Message
Has anyone else noticed that when you #hangupall, and I presume using #hangup person aswell, even though it says it's disconnected the connection remains established to the other person?

Using netstat shows the connection doesn't close, and the people I chat with say that the connection isn't dropped to them either.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 15 May 2003 05:24 AM (UTC)
Message
I have been investigating this at some length.

MUSHclient closes TCP/IP connections fairly brutally, which conceivably would leave a hanging connection under some circumstances.

However, a more graceful close seems to have two other major problems:


  1. If a network connection was lost, closing the connection the recommended way could conceivably result in quite a long delay (as the "close" packet has to go to the other end and be acknowledged).
  2. Testing with a connection to itself (eg. a chat connection to localhost) hangs the client, because it is waiting for itself to close the connection, which puts it into a deadlock situation.


For now I would prefer to leave things as they are. What might help would be to upgrade your version of Winsock, if you are using an older version of Windows.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,680 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.