KingAnt.net This space left blank intentionally. 
Oscar Protocol Documentation | Random Pidgin Files

Oscar Protocol Specification: Family 0x0015, Subtype 0x0003

unfinished

This can contain a wide array of information from the server. Info of other ICQ users,

Thanks to Adam Fritzler's libfaim for the basic structure of this.

Source: Server

LengthDescription
2 bytesFamily (0x0015)
2 bytesSubtype (0x0003)
2 bytesFlags
4 bytesSnac Request ID
2 bytesType - 0x0001
2 bytesLength L of the following
L bytesAll information for this SNAC is in the value of this TLV, and the information is given in network byte order. This shows the sloppy way that ICQ support was added to oscar, IMO.
LengthDescription
2 bytesCommand length. This is L-2
4 bytesThe destination UIN (us)
2 bytesCommand. This actually tells what the rest of the SNAC contains. You decide how to read in the rest of it based on what command it is.
2 bytesRequest ID


If command is 0x0041, then this is an offline message.
LengthDescription
4 bytesThe originating UIN (them)
2 bytesThe year the message was sent
1 byteThe month the message was sent
1 byteThe day the message was sent
1 byteThe hour the message was sent
1 byteThe minute the message was sent
2 bytesThe type of message
2 bytesLength L of the following
L bytesThe actual message


All material Copyright © 2000-2014, All Rights Reserved
Linux is a registered trademark of Linus Torvalds.
AIM is a registered trademark of America Online, Inc.
ICQ is a registered trademark of ICQ Inc.
All other trademarks are property of their respective owners.