SNAC(04,07)  SRV_CLIENT_ICBM_CH4 

You'll receive this snac when another client send you a message on channel 4 thru server. ICQ clients use this snac to send messages to an old/offline/invisible clients if message type != 1 or message flags != 0 (for example plain-text multi-recipient message to an offline client) but this doesn't mean that you will never receive usual channel 4 plain-text message. See also additional information about online userinfo block.

 00 04   word   SNAC family
 00 07   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 xx xx xx xx
 xx xx xx xx
  qword   msg-id cookie
 xx xx   word   message channel (see table below)
 xx   byte   screenname string length
 xx ..   string   screenname string
 xx xx   word   sender warning level
 00 04   word   number of TLVs in fixed part
 00 01   word   TLV.Type(0x01) - user class
 00 02   word   TLV.Length
 xx xx   word   user class
 00 06   word   TLV.Type(0x06) - user status
 00 04   word   TLV.Length
 xx xx xx xx   dword   user status
 00 0f   word   TLV.Type(0x0f) - user idle time
 00 04   word   TLV.Length
 xx xx xx xx   dword   client idle time
 00 03   word   TLV.Type(0x03) - account creation time
 00 04   word   TLV.Length
 xx xx xx xx   dword   user account creation time

 00 05   word   TLV.Type(0x05) - message data
 xx xx   word   TLV.Length
 xx xx xx xx   dword (LE)   Sender uin
 xx   byte   Message type
 xx   byte   Message flags
 xx xx   word (LE)   Message string length
 xx .. 00   string (asciiz)   Message string

Example SNAC dumps with flap header:

  2a 02 ae e2 00 6a 00 04  00 07 00 00 9a b3 8d eb  *....j..........
  3e bc 8e 0a 59 65 b9 56  00 04 07 31 30 30 30 30  >...Ye.V...10000
  30 30 00 00 00 04 00 01  00 02 00 50 00 06 00 04  00.........P....
  00 01 00 00 00 0f 00 04  00 00 00 d2 00 03 00 04  ................
  00 00 00 00 00 05 00 28  40 42 0f 00 04 00 20 00  .......(@B.... .
  55 72 6c 20 64 65 73 63  72 69 70 74 69 6f 6e fe  Url description.
  68 74 74 70 3a 2f 2f 74  65 73 74 2e 75 72 6c 00  http://test.url.


  Main | Basic | Login | Snaclist | Sequences | Misc | Changes | Credits | Terms