[icq-devel] SNAC4-6,7 for file transfer



Martin Öberg icqdevel at strickz.com
Fri Oct 3 17:00:23 CEST 2003


Not that it help you much, but this is how that part is packed by
Miranda. Most of it is still hardcoded values that mimics the official
clients. Maybe someone else can fill in the unknowns.

             [...]
	packByte(&packet, 26); // Message type
	packByte(&packet, 0);  // Flags
	packLEWord(&packet, (WORD)MirandaStatusToIcq(icqStatus));
	packLEWord(&packet, 1); // Unknown, priority?

	packLEWord(&packet, 1); // Message len
	packByte(&packet, 0);   // Message (unused)
	packLEWord(&packet, 0x029); // Command

	packDWord(&packet, 0xf02d12d9); // Unknown binary string (4 dwords)
	packDWord(&packet, 0x3091d311);
	packDWord(&packet, 0x8dd70010);
	packDWord(&packet, 0x4b06462e);
	packWord(&packet, 0x0000);      // Unknown
	packLEDWord(&packet, 0x0004);                           // Request type string
	packString(&packet, "File", 0x0004);
	
	packDWord(&packet, 0x00000100); // More unknown binary stuff
	packDWord(&packet, 0x00010000);
	packDWord(&packet, 0x00000000);
	packWord(&packet, 0x0000);
	packByte(&packet, 0x00);
             [...]


On Fri, 3 Oct 2003 11:03:27 +0300
"sharc" <sharc at tut.by> wrote:

> Hi all!
> I parsed SNAC 4,6 for file transfere request, but some data still unknown for me. I advert to different docs but couldn't find same format of this packet. This packet was generated with Miranda and ICQ2003b. Maybe someone know what info is keeping at unparsed data.


> 	// now i have some troubles with this part of packet
> 00 00 01 00 01 00 00 29 00 F0 2D 12 D9 30 91 D3
> 11 8D D7 00 10 4B 06 46 2E 00 00 04 00 00 00 46
> 69 6C C5 00 00 01 00 00 01 00 00 00 00 00 00 00
> 00 00
> 	// <--





More information about the icq-devel mailing list