Hi Friends, I have made a client server application in which multiple clients can interact with server. but when two or more clients get connected at the same time then memory error occurs. So I think i have to use some synchronization tecnique to get things working properly. i thought of using mutex. Can anybody help me with some sample code as how to use mutex in C under windows.