sansriv
May 6th, 1999, 05:21 AM
Hi All,
I am working on a multi-threaded socket client application,The application is more or less ready and is working except one issue , When ever I connect to the server and after connection try to send a message using serialize (I am using CArvhive) ,It asserts in the MFC code on ASSERT_vALID(sockptr); , But if I ignore the Assertion , I am able to continue with the message flow between the server and the client. What could be the reason of the first assertion which I get. Is it due to some sharing voilation of the sock pointer between the thread and the main thread.
thanks in anticipation
regards
Sanjeev
I am working on a multi-threaded socket client application,The application is more or less ready and is working except one issue , When ever I connect to the server and after connection try to send a message using serialize (I am using CArvhive) ,It asserts in the MFC code on ASSERT_vALID(sockptr); , But if I ignore the Assertion , I am able to continue with the message flow between the server and the client. What could be the reason of the first assertion which I get. Is it due to some sharing voilation of the sock pointer between the thread and the main thread.
thanks in anticipation
regards
Sanjeev