Quote Originally Posted by xtab View Post
Simple Said.i want Such type of function.if Connection is really open then this function must be return true.and if connection is not open
then it must be return false
I understand what you wrote and what you are trying to accomplish.

What I am asking is WHY.

If you are planning on making a connection and keeping the connection opened long enough to have to check if it is still open, that is probably the wrong approach.