hi,
fetching the owner with LOCK_W solved the problem - totally forgot that.
However, I just tested it and realized that the msn plugin doesn't seem
to send a SIGNAL_LOGON but just a SIGNAL_UPDATExUSER with status set to
ICQ_STATUS_ONLINE (not sure if this is really the case but this was what
the return value looked like at first sight). Also the server / port
seems to be hardcoded into the msn source ...

"Is your system time off? That is being received over here..."
what do you mean?

Thanks for the help
    Joachim

Am Freitag, den 05.08.2005, 12:46 +0900 schrieb Jon Keating:
> On 8/5/05, Joachim Staib <[EMAIL PROTECTED]> wrote:
> > 1. call CICQDaemon::ProtoPluginLoad("msn")
> > 2. wait until SIGNAL_NEWxPROTO_PLUGIN was emitted
> > 3. call gUserManager.AddOwner("..", MSN_PPID)
> > 4. fetch the owner calling gUserManager.FetchOwner(MSN_PPID)
> > 5. set the password by calling owner->SetPassword("...")
> > 6. drop the owner by gUserManager.DropOwner(MSN_PPID)
> > 7. try to logon with CICQDaemon::ProtoLogon(MSN_PPID, ICQ_STATUS_ONLINE)
> 
> Is there any debug output (please use -d31) when you call the
> ProtoPluginPload? Are you sure that FetchOwner is not returning NULL?
> And are you calling FetchOwner with LOCK_W?
> 
> Jon
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Licq-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/licq-devel
> 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to