by Pieter Philippaerts [Pieter at mentalis dot org] posted on 2004/03/06 |
|
The cleanest method to implement this would be by using the Poll method, but unfortunately this method is not supported when the socket is in SSL/TLS mode.
Another option is to use the Available property of the SecureSocket. If after a specified interval no bytes have been received, you could simply close the socket. |