Chat not hanging up properly?

Posted by Fluxo on Wed 14 May 2003 09:39 AM — 2 posts, 11,234 views.

#0
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.
Australia Forum Administrator #1
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.