I am encapsulating a socket communication in an activex exe.
This socket object is created from client application and will provide event notification to client.
When ConnectionRequest event raised,the connection is accepted and the client will be notified through CONNECTED (defined in socket object) event. Everything is working upto this point but ConnectionRequest is again being raised WITH SAME RequestId after the previous connection is accepted through Accept method.
When i am trying to close the socket and reaceept the request,a run time error is generated saying "Run-time Error 10038 ,the Descriptor Is Not A Socket" !
Have anybody faced this problem?please suggest some workaround.
Thanks in advance.
PS:I am using TCP Protocol.