I developed an IP messenger using C language and I wish to share some of it’s implementation details to make completely understand my problem. Used GTK+-2.0 library for showing GUI windows. It has a listening socket and whenever a new connection arrives then it will create a new process to serve the connection. Whenever a new message arrives then it