Home Submitter: stricq@owlnet.net Edit

CLI_TOICQSRV

Channel: 2SNAC(21,2)

Send a command to the old ICQ server. This is used for those parts of the protocol that are ICQ-specific.

Parameters

Data type Content Name Description
TLV(1) 00 01 xx xx ... ICQDATA The data in this TLV is seperated into several sections broken out as follows. The data is passed to the old original ICQ server as all numbers are little-endian and the data generally follows the format as was laid out in the ICQ protocol versions 2-5.
    WORD.L xx xx LENGTH The length of the following data.
    DWORD.L xx xx xx xx UIN Your UIN.
    WORD.L xx xx SUBCOMMAND The command to issue. See specific packets for possible values.
    WORD.L xx xx SEQUENCE A one-up sequence starting at 2. It should be noted that this value minus one is passed in the upper word of the SNAC header reference value.
    DATA ... DATA Additional parameters for this command. See specific packets for details.

Examples

2A 02 14 C1 00 18                   Flap: Channel 2, Sequence 5312, Length 24
   00 15 00 02 00 00 00 01 00 02    Snac: Type x15/x02, ID x00010002, Flags 0
      00 01 00 0A 08 00             Length: 8, Reverse byte order
                     98 58 7B 00    8083608, UIN
                     3C 00          60, Command: Request offline messages
                     02 00           2, Sequence


HomeEdit