On Wed, Jan 16, 2008 at 12:28:19PM +0100, Jayjay wrote: > Hi Roger, > > Roger wrote: > > Hi! > > > > I've commited first part of my patches for SSI/SBL support in libcq2000. > > That means this should add some basic support for server-side contact > > list, required by new protocol. This first part implements adding of users > > and groups and authentication requests. It also removes part of old (and > > now useless) code for deprecated protocol. > > The code is quite wip, experimental etc., so handle with care (there's > > stable mobshot from weekend if you want just latests fixes). During my > > tests, I've been able to request authorization from another user and add > > him to my list. I'd appreciate if someone else tested these new functions. > > Basic ideas behind the changes should be obvious - if it's not and you > > really want to know, ask. This whole thing is just a hack to get ICQ in > > CIM working somehow, until CIM5 is done (*hint*), so it tries to minimize > > deep changes in the project (I'd tried it, and it's real pain). > > > > Thanks for all the ICQ work you did. It seems to be more stable than it > was. Before it sometimes crashed on a protocol error; so thanks for the > fixes! > > A minor thing I saw is that the first time I connect ICQ with the > ICQ-server (after I just started CIM), I got a "disconnection reason: > socket problems". The second time I try to connect, it always works. So > maybe you forgot to initialize a variable the first time? I did not > verify if your changes caused this minor bug, but I can't remember > noticing it earlier.
Confirm this problem. I always have to change status to online manually after restarting cim. Here the part of the debug-file for this connection try: -- centerim debug log started on Tue Jan 15 14:37:41 2008 + [icq] Verbinde mit dem Server Client connecting Looking up host name of authorizer: login.icq.com Establishing TCP connection to authorizer Creating new SBL group 1 (Kirsten) Sending packet to Server 0000 2a 02 25 9b 00 0a 00 13 00 11 00 00 00 00 00 00 *.%............. Failed to send: Not connected Client disconnecting + [icq] Verbindung getrennt: Socket Proleme <--- socket error here Sending packet to Server 0000 2a 02 25 9c 00 1b 00 13 00 08 00 00 49 a2 4d ee *.%.........I.M. 0010 00 07 4b 69 72 73 74 65 6e 00 01 00 00 00 01 00 ..Kirsten....... 0020 00 . Failed to send: Not connected + [icq] Verbinde mit dem Server <- manual status change to online here Client connecting Looking up host name of authorizer: login.icq.com Establishing TCP connection to authorizer Connection established Received packet from Server 0000 2a 01 5e d6 00 04 00 00 00 01 *.^....... Sending Authorisation Request Sending packet to Server 0000 2a 01 66 75 00 83 00 00 00 01 00 01 00 08 39 31 *.fu..........91 0010 36 30 36 34 32 38 00 02 00 06 b9 49 ed a8 40 b7 [EMAIL PROTECTED] 0020 00 03 00 33 49 43 51 20 49 6e 63 2e 20 2d 20 50 ...3ICQ Inc. - P 0030 72 6f 64 75 63 74 20 6f 66 20 49 43 51 20 28 54 roduct of ICQ (T 0040 4d 29 2e 32 30 30 30 62 2e 34 2e 36 33 2e 31 2e M).2000b.4.63.1. 0050 33 32 37 39 2e 38 35 00 16 00 02 01 0a 00 17 00 3279.85......... 0060 02 00 04 00 18 00 02 00 3f 00 19 00 02 00 01 00 ........?....... 0070 1a 00 02 0c cf 00 14 00 04 00 00 00 55 00 0f 00 ............U... 0080 02 65 6e 00 0e 00 02 75 73 .en....us Connection Acknowledge from server > Thanks, > Jayjay > > -- > _______________________________________________ > Centerim-devel mailing list > Centerim-devel@centerim.org > http://centerim.org/mailman/listinfo/centerim-devel > http://www.centerim.org/ -- _______________________________________________ Centerim-devel mailing list Centerim-devel@centerim.org http://centerim.org/mailman/listinfo/centerim-devel http://www.centerim.org/