|
Hi All,
I am also facing the same issue. I am developing a system tray application ,Which will listen to a port for any incoming connection.
Also there is a menu attached with this system tray application, through which user can perform operations.
I have forked a process which will listen to the socket for connection and then perform operations and in the parent thread I am handling the GUI of system tray by calling gtk_main().
What is happening is at the accept() function the code is getting blocked and now even the parent process is not able to function because of this the menu of system tray hangs.
Plz help.
Regards
Arun Tayal
Last edited by arun.tayal; 09-24-2008 at 12:40 AM.
|