[icq-devel] SNAC(3,3)



Douglas McLaughlin stricq at owlnet.net
Sun Dec 30 00:31:23 CET 2001


At 07:21 PM 12/28/2001, you wrote:

>AVS>> After  connecting  to BOS ICQ client should send SNAC(1,17) which
>AVS>> contain  SNAC  services code and required versions.
>MM> could you write some notes about it so that i can add them to the doc?
>
>Yes...
>
>Client sends SNAC(1,17) - required services version numbers....
>
>  00 01 00 03     // service (family) 0x1, required version 3...
>  00 13 00 02     // service 0x13, version 2
>  00 02 00 01     // 0x2, version 1
>  00 03 00 01     // 0x3, version 1
>  00 15 00 01     // 0x15, version 1
>  00 04 00 01     // 0x4, version 1
>  00 06 00 01     // 0x6, version 1
>  00 09 00 01     // 0x9, version 1
>  00 0A 00 01     // 0xA, version 1
>  00 0B 00 01     // 0xB, version 1
>
>If BOS doesn't support services from that block and knows one that can
>do that it use migration sequence to move client on another BOS...
>
>If all is ok... server respond with snac(1,18) with its parameters....
>
>00 01 00 03     // ok same version number...
>00 02 00 01
>00 03 00 01
>00 04 00 01
>00 06 00 01
>00 08 00 01
>00 09 00 01
>00 0A 00 01
>00 0B 00 01
>00 0C 00 01
>00 13 00 02     // same too...
>00 15 00 01
>
>This is called "protocol negotiation"
>
>But... some families is missed... this is very strange...
>chat (0xE, 0xD), administrative (0x7), registration (0x17)....
>
>So this forces me think that this stuff is not used by ICQ client yet...

Makes sense, but what is all that extra stuff in SNAC(1,2)?

Client: (Client Ready)
2A 02 14 C0 00 50                                                 Flap: 
Channel 2, Sequence 5312, Length 80
    00 01 00 02 00 00 00 00 00 00                                  Snac: 
Type x01/x02, ID x0000, Flags 0
       00 01 00 03 01 10 04 7B                                     Number 
sequence matches x01/x17
       00 13 00 02 01 10 04 7B
       00 02 00 01 01 01 04 7B
       00 03 00 01 01 10 04 7B
       00 15 00 01 01 10 04 7B
       00 04 00 01 01 10 04 7B
       00 06 00 01 01 10 04 7B
       00 09 00 01 01 10 04 7B
       00 0A 00 01 01 10 04 7B
       00 0B 00 01 01 10 04 7B

Doug

--
Douglas F. McLaughlin      [Chancellor's List - Spring/Fall 2001,
STR Programming Services    University of North Carolina - Pembroke]
stricq at owlnet.net
http://www.stricq.com/     { while(!sleep) sheep++; }
Team Amiga                 http://www.amiga.com/




More information about the icq-devel mailing list