Problem:
Crash occurs if a client with no socket attempts to interact with the system. This might happen if they time out but still have their chat window open.
To fix the problem, check that the client socket exists at beginning of each server-side socket listener.
Problem: Crash occurs if a client with no socket attempts to interact with the system. This might happen if they time out but still have their chat window open.
To fix the problem, check that the client socket exists at beginning of each server-side socket listener.