On Thursday 10 January 2002 11:29 am, Andrew Friedley wrote: > The call to icqSendMessage() blocks my plugin. The daemon is fine, it isnt > blocking. > Since this call is blocking, how am i supposed to get the > ICQ_CMDxSND_THRUxSERVER event?
icqSendMessage() is part of the daemon, and since the daemon does not block, how would this block? After you make a call to icqSendMessage() you go on and do whatever you want, you will be notified by an event. Do not wait for an event, it will come to you. > I should say, when i first tried sending messages, the first two or three > worked - and any after that would just block. I didn't change any code or > even recompile or rerun icq with my plugin - i sent two or three messages > then the one after that blocked indefinitely (I waited half an hour, > anyway). Subssequent runs and compiles of my plugin still block on the > first message i try to send. The packaged licq console plugin sends and > recvs messages perfectly fine. Perhaps you can show me some of your code. Don't post anything larger than 5KB to the list however. If it must be larger than that, mail it to me directly. Jon _______________________________________________ Licq-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/licq-devel
