Need urgent help

dharmdeep's Avatar
Newbie Member
Hi Friends I am using socket programming in C in which there is one server and multiple clients running at the same time. I am using thread for handling multiple clients but whenever two clients run simultaneously a memory error reflects as "The instruction at 0x00422e46 reference memory at 0xdf909004. The memory could not be written" along with debug assertion failed. Whenever I run each clients at some time difference then it works fine. I think I have to use some synchronizing object to handle this case. Kindly guide me so that I can proceed with it.
0
Aztec's Avatar, Join Date: May 2006
Contributor
Post in forum related to network programming.