On Thursday 07 June 2007 06:51, kkieling wrote:
> using select() instead of read() to wait for the input gives the same
> behaviour. i used
>   fd_set f;
>   FD_ZERO( &f );
>   FD_SET( nPipe, &f );
>   select( 1, &f, NULL, NULL, NULL );

Having a source ball to look at it and play with might help some more. But 
first thing wrong I see with this is the select(1...   do you really have 
only one file descriptor, and it is 0? If I'm not mistaken, 0 is the file 
descriptor for stdin.. you should be setting it to nPipe + 1.

> when i quit licq, an "X" is read. when other signals are sent (eg,
> changing online status), it breaks down.

What kind of breakdown? What does gdb say?

> in the end, the plugin shall be a wrapper around skype, using the dbus
> interface. with the new skype 1.4 alpha this works pretty well, the
> only problem is my licq integration ;-)

Does skype have a daemon mode as well then? Or do you have to run skype with a 
GUI to be able to access it?

Jon

-- 
________________________________________________________
Jon Keating                ICQ: 16325723
[EMAIL PROTECTED]               MSN: [EMAIL PROTECTED]
http://www.licq.org        GPG: 2290A71F
http://www.thejon.org      HOME: Minamiashigara, Japan

Reply via email to