[icq-devel] Problems processing tlv 0x2711 in advanced message



Perry Werneck pwicq at terra.com.br
Tue Nov 26 00:40:48 CET 2002


	Hi,

	I'm having some problems processing URL messages with my client. The TLV 0x2711 
packet sent from the server seens to be diferent from the one documented in 
Rüdiger's page.

	Any clues?

This is the TLV I received:

11/25/2002 21:34:22 icqkrnl    TLV2711 (244 bytes)
1b 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 03 00 00 00 00 cd ff 0e 00 cd   ...........Íÿ..Í
ff 00 00 00 00 00 00 00 00 00 00 00 00 1a 00 00   ÿ...............
00 01 00 01 00 00 40 00 37 1c 58 72 e9 87 d4 11   ...... at .7.Xré‡Ô.
a4 c1 00 d0 b7 59 b1 d9 00 00 1b 00 00 00 53 65   ¤Á.зY±Ù......Se
6e 64 20 57 65 62 20 50 61 67 65 20 41 64 64 72   nd Web Page Addr
65 73 73 20 28 55 52 4c 29 00 00 00 00 00 01 00   ess (URL).......
00 00 00 00 00 00 00 00 78 00 00 00 74 00 00 00   ........x...t...
4a 61 76 61 20 54 69 70 20 34 38 3a 20 48 6f 77   Java Tip 48: How
20 74 6f 20 63 72 65 61 74 65 20 61 20 72 65 75    to create a reu
73 61 62 6c 65 20 4d 65 73 73 61 67 65 42 6f 78   sable MessageBox
20 63 6c 61 73 73 fe 68 74 74 70 3a 2f 2f 77 77    classþhttp://ww
77 2e 6a 61 76 61 77 6f 72 6c 64 2e 63 6f 6d 2f   w.javaworld.com/
6a 61 76 61 77 6f 72 6c 64 2f 6a 61 76 61 74 69   javaworld/javati
70 73 2f 6a 77 2d 6a 61 76 61 74 69 70 34 38 2e   ps/jw-javatip48.
68 74 6d 6c                                       html

The header according the documentation (seens like this is a no text message):

11/25/2002 21:34:22 icqkrnl    Header (53 bytes)
1b 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00 00 00 00 00 00 03 00 00 00 00 cd ff 0e 00 cd   ...........Íÿ..Í
ff 00 00 00 00 00 00 00 00 00 00 00 00 1a 00 00   ÿ...............
00 01 00 01 00                                    .....

But, the extra bytes in the packet:

11/25/2002 21:34:22 icqkrnl    Extra (191 bytes)
00 40 00 37 1c 58 72 e9 87 d4 11 a4 c1 00 d0 b7   . at .7.Xré‡Ô.¤Á.з
59 b1 d9 00 00 1b 00 00 00 53 65 6e 64 20 57 65   Y±Ù......Send We
62 20 50 61 67 65 20 41 64 64 72 65 73 73 20 28   b Page Address (
55 52 4c 29 00 00 00 00 00 01 00 00 00 00 00 00   URL)............
00 00 00 78 00 00 00 74 00 00 00 4a 61 76 61 20   ...x...t...Java
54 69 70 20 34 38 3a 20 48 6f 77 20 74 6f 20 63   Tip 48: How to c
72 65 61 74 65 20 61 20 72 65 75 73 61 62 6c 65   reate a reusable
20 4d 65 73 73 61 67 65 42 6f 78 20 63 6c 61 73    MessageBox clas
73 fe 68 74 74 70 3a 2f 2f 77 77 77 2e 6a 61 76   sþhttp://www.jav
61 77 6f 72 6c 64 2e 63 6f 6d 2f 6a 61 76 61 77   aworld.com/javaw
6f 72 6c 64 2f 6a 61 76 61 74 69 70 73 2f 6a 77   orld/javatips/jw
2d 6a 61 76 61 74 69 70 34 38 2e 68 74 6d 6c      -javatip48.html


-- 

    Perry Werneck
    ICQ#27241234
    http://planeta.terra.com.br/informatica/trevize




More information about the icq-devel mailing list