hey,

im writing a micq style (w/o curses) plugin for licq and am having a problem
with sending messages.  My line to send the actual message is this:

LicqDaemon->icqSendMessage(Uin, Message, false, false);

The first 2 or 3 messages i sent went through just fine - client running my
plugin is licq-20020103 cvs daily, and the client recving the message is
running the same licq version on another machine with the packaged licq
console plugin.  after the first couple though, went i send a message using
my plugin it hangs at the icqSendMessage call listed above.  No activity
shows on the licq log, except for a periodic packet and message (my ip is
the 65.66.69.53):

22:16:59: [PKT] Packet (SRVv0, 6 bytes) sent:
                (65.66.69.53:2320 -> 64.12.28.141:5190)
     0000: 2A 05 0A BD 00 00                                  *.....
22:16:59: doneevents: for: 0x80ba260 pending:
22:16:59: 0x80ba048 Command: 2 SubCommand: 0 Sequence: 2744 SubSequence: 12:
Uin: 0

22:17:59: [PKT] Packet (SRVv0, 6 bytes) sent:
                (65.66.69.53:2320 -> 64.12.28.141:5190)
     0000: 2A 05 0A BE 00 00                                  *.....
22:17:59: doneevents: for: 0x80ba620 pending:
22:17:59: 0x80ba048 Command: 2 SubCommand: 0 Sequence: 2744 SubSequence: 12:
Uin: 0

22:18:59: [PKT] Packet (SRVv0, 6 bytes) sent:
                (65.66.69.53:2320 -> 64.12.28.141:5190)
     0000: 2A 05 0A BF 00 00                                  *.....
22:18:59: doneevents: for: 0x80ba440 pending:
22:18:59: 0x80ba048 Command: 2 SubCommand: 0 Sequence: 2744 SubSequence: 12:
Uin: 0

I have listed three that arrived in sequence.  Notice that they occur
exactly every minute.  Are these related to the blocking of my
icqSendMessage() call?  What exactly are they?

Some other questions - is the icqSendMessage() call supposed to block?  if
not, does the daemon send some kind of signal or event indicating that the
message was sent or could not be sent?  What would that signal/event be? the
source code is not clear to me.


thanks,

saai


_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to