> Can you post your code somewhere? And what protocol are you working on
> implementing?

i dismantled the msn plugin to start with. after cutting it down to
the essentials, LProto_Main only consists of
  int nPipe = _pDaemon->RegisterProtoPlugin( );
  char *buf[10];
  read( nPipe, buf, 1 );
  _pDaemon->UnregisterProtoPlugin( );
  return 0;

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 );

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

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 ;-)

konrad

Reply via email to