SNAC(04,06)/CH2  CLI_SEND_ICBM_CH2 

Client use this snac to send message thru server on channel 2.

 00 04   word   SNAC family
 00 06   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
 00 02 word   message channel
 xx byte   screenname string length
 xx .. string   screenname string
 00 05   word   TLV.Type(0x05) - rendezvous message data
 xx xx   word   TLV.Length
 xx xx   word   message type (0 - request, 1 - cancel, 2 - accept)
 xx xx xx xx
 xx xx xx xx
  qword   msg-id cookie (same as above)
 xx .. xx   guid   capability (determines format of message data in "extention data" below)
 00 03   word   TLV.Type(0x03) - internal ip
 xx xx   word   TLV.Length
 xx xx xx xx   dword   internal ip
 00 05   word   TLV.Type(0x05) - listening port
 xx xx   word   TLV.Length
 xx xx   word   listening port
 00 0A   word   TLV.Type(0x0A) - unknown
 xx xx   word   TLV.Length
 xx xx   word   unknown (usually 1)
 00 0B   word   TLV.Type(0x0B) - unknown
 xx xx   word   TLV.Length
 xx xx   word   unknown
 00 0F   word   TLV.Type(0x0F) - unknown
 00 00   word   TLV.Length
 empty
 11 27   word   TLV.Type(0x2711) - extention data
 xx xx   word   TLV.Length
 Following contents is capability-specific.
  Data format description for capability {09461349-4C7F-11D1-8222-444553540000}
 xx xx   word (LE)   length of following data
 xx xx   word (LE)   protocol version
 xx .. xx   guid (LE)   plugin or zero bytes
 xx xx   word   unknown
 xx xx xx xx   dword (LE)   client capabilities flags
 xx   byte   unknown
 xx xx   word (LE)   seems to be a downcounter
 xx xx   word (LE)   length of following data
 xx xx   word (LE)   seems to be a downcounter as in first chunk above
 xx ..     unknown, usually zeros
if plugin field in first chunk above is zero, here is message, overwise here is plugin-specific data.
 00 03   word   TLV.Type(0x03) - request an ack from server
 00 00   word   TLV.Length
 empty

Example SNAC dumps with flap header:

  2A 02 36 87 00 99 00 04 00 06 00 00 00 0F 00 06  *.6Ç.Ù..........
  CC EB 54 00 F7 07 00 00 00 02 09 31 32 33 34 35  ¦ûT.¢......12345
  36 37 38 39 00 05 00 73 00 00 CC EB 54 00 F7 07  6789...s..¦ûT.¢.
  00 00 09 46 13 49 4C 7F 11 D1 82 22 44 45 53 54  ...F.IL.TÂ"DEST
  00 00 00 0A 00 02 00 01 00 0F 00 00 27 11 00 4B  ............'..K
  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 FB FF 0E 00 FB  ...........v ..v
  FF 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00   ...............
  00 21 00 0E 00 54 65 73 74 20 6D 65 73 73 61 67  .!...Test messag
  65 2E 00 00 00 00 00 FF FF FF 00 00 03 00 00     e......   .....


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