I am developing a Network Application i am facing problem , in VB6 Winsock control we have 6 states of Winsock control so we can determinte at which state now socket it. in .net i have implemented a TCPLISTNER server which listnes and connects client , now the problem is that when server is closed, the tcp client still assumes it is connected, how can i check wether this connection is active or not ?
When i write netstat -a it shows me that connection is on Close_Wait , but the TCP Client has only 2 states true or false ,
Please tell me how can i check wether at this time my connection is active or not ?
When i write netstat -a it shows me that connection is on Close_Wait , but the TCP Client has only 2 states true or false ,
Please tell me how can i check wether at this time my connection is active or not ?