hikalkan / scs

TCP Server/Client Communication and RMI Framework
MIT License
225 stars 112 forks source link

SendMessageAndWaitForResponse <=> Client Disconnect #10

Open zs2hx opened 8 years ago

zs2hx commented 8 years ago

When a client disconnects whilst waiting in SendMessageAndWaitForResponse then:

  1. the client Disconnected event gets fired successfully
  2. the messenger continues to wait until the timeout is reached.

Can we bubble up the Disconnected event in SendMessageAndWaitForResponse ?

hikalkan commented 8 years ago

Good point. I've no time for now, but I can accept a pull request if you implement. Thanks.