my-psb/chat/TODO.md
Fred Z d9dc6ce96a Edit TODO server crash if a client is killed
Traceback (most recent call last):
  File "server.py", line 78, in <module>
    peername = socket.getpeername()
OSError: [Errno 107] Transport endpoint is not connected
2018-03-05 23:12:50 +01:00

894 B

chat TODO-list

  • server crash when a client quit
  • clean client exit with
  • clean server exit with
  • broadcasting messages to all client connected
  • show message on server when client use <ctrl+c>
  • crash after 2 <ctrl+c> in client
  • sending welcome message only at 1st client connection FIX #20
  • client freeze when sending empty string or spaces
  • move closing connection at the script's end
  • asking/using client-nickname
  • clean the prompt and std.out a bit messy since broadcasting
  • using wlist with select.select for hardening the script
  • convert logic to oreiented object
  • server crash witn opened connection with <ctrl+Z>
  • add some commands: help, list user, disconnect user, etc.
  • add time logging
  • server crash if a client is killed