[icq-devel] status messages



isilweo isilweo at vdi.pl
Mon Nov 11 14:12:09 CET 2002


can you send here packet you send to icq server to change your status (in 
human readable version of course;))? full. with flap. i had a problem with 
status changing but it was first snac command that i sent to icq server. 
the problem is that in stricq.com (were i used login sequence tutorial) 
there is mistake in flap header - length of flap.

here is copy  from cli_setstatus

2A 02 14 BF 00 37                   Flap: Channel 2, Sequence 5311, Length 55
    00 01 00 1E 00 00 00 00 00 00    Snac: Type x01/x1E, ID x0000, Flags 0
       00 06 00 04 20 02 00 00       Status: Direct connect=List, Show IP, 
Online
       00 08 00 02 00 00             Error code
       00 0C 00 25 C0 A8 01 02       192.168.1.2, Internal IP
                   00 00 2E 44       11844, Port
                   01                 1, TCP Flag: Firewall
                   00 08              8, Protocol version: ICQ2001=v8
                   89 9F CD A0       Direct connect cookie
                   00 00              0, Unknown
                   00 50             80, Unknown
                   00 00              0, Unknown
                   00 03             Count: 3
                      3B A8 DB AF    time(NULL): Wed Sep 19 13:53:51 2001
                      3B EB 53 73    time(NULL): Thu Nov 08 22:54:27 2001
                      3B EB 52 62    time(NULL): Thu Nov 08 22:49:54 2001
                   00 00              0, Unknown

it says that FLAP length is 55 and it is wrong. it does not count the 
length of SNAC header only snac content. icq server disconnected me before 
i figure out where was the problem. If you send more bytes than it is said 
in FLAP Length you will be disconnected.

hope it helped
greetings

isilweo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://vic20.blipp.com/pipermail/icq-devel/attachments/20021111/743e1013/attachment.htm 


More information about the icq-devel mailing list