PSU-CS-300-Fall2015 / Ellis_Finn_Taurus

A minimal TauNet client.
http://taunet.net/
MIT License
0 stars 0 forks source link

Catch socket.timeout in taurus.py. #7

Open relsqui opened 8 years ago

relsqui commented 8 years ago

When we try to send to someone whose client isn't up, we time out and crash. Let's catch that and respond politely instead.

relsqui commented 8 years ago

Better yet, (additionally) use the blank message rejection in the protocol to test availability before prompting for a message!