Thread starts to accept connections from the clients
Server side: accept the connection add new user to the user list and broadcast the new user arrived.
Process When new connection arrives it gets added to the connection list and , that list is broadcasted amongst the existing users It then gets hashed with the dictionary datatype variable hasha . Hasha hashes all the Ip address with the connection socket object.
Client side: send a chat (if it’s more than 154 length it will not fit in the header format so not accepted)
Client side: quit the chat by closing Server side: Send every users about one users’ leaving