[icq-devel] Sending message type-2 - Snac(0x04, 0x06)



Fabrice Michellonet fabrice.michellonet at wanadoo.fr
Sat Nov 23 16:13:01 CET 2002


MessageThanks Christophe,

it now works thanks to your help. In fact i forgot the message length was in little endian... and plus i had another bug in the GUID field.
Thanks for the advise concerning clone that can only receive msg-type, i'll inplements msg-type1 too. i think it will be easier.

Fabrice
  ----- Original Message ----- 
  From: Christophe Minguet (freesurf) 
  To: icq-devel at blipp.com 
  Sent: Saturday, November 23, 2002 9:44 AM
  Subject: Re: [icq-devel] Sending message type-2 - Snac(0x04, 0x06)


  Hello Fabrice, few things i noticed in your snac 4/6 packet :

  1 - your SEQ1 value : 4C 00
  honnestly , i'm not sure, but ... it's said to be a downcounter from FFFF ... i used one sent by icq : 47 FF
  and i never change it .. it's working .. but ... is it "clean" ? ...

  2 - your LNTS message is : 07 72  65 6D 65 72 63 69 00 
  so , 1 byte for length , 8 bytes for NTS
  so, lengh should be 8 and .. length should be a word.le , so :
  08 00 |  72  65 6D 65 72 63 69 00 

  Good luck ! hope this will help !

  by the way ... be carefull.. as all clients DO no support type 2 messages .. you may get an SRV_ICBMERR (snac 4/1)
  with error code 4  or 9 (offline or only type 1 message client)

  Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://vic20.blipp.com/pipermail/icq-devel/attachments/20021123/ef84fdcb/attachment.htm 


More information about the icq-devel mailing list