link

I need my app to quickly respond when a Socket gets disconnected (from the other side). Is there any way other then constantly checking the Socket with another thread to trigger a method when the Socket is disconnected?