OSCAR (Open System for CommunicAtion in Realtime) is AOL's flagship instant messaging and presence information protocol. It was used by AOL's AIM instant messaging system and ICQ.
Despite its name, the specifications for the protocol remain proprietary. AOL has gone to great lengths to keep competitors (namely Microsoft, XMPP, and Cerulean Studios) from implementing compatible clients for their proprietary messaging systems. In 2002, AOL signed a contract with Apple, Inc., allowing them to use OSCAR (as well as AOL's own code libraries) in their iChat application. This allowed iChat users to interact with ICQ and AIM users directly. The deal also permitted users of Apple's .Mac service to log into the AIM network using their .Mac email addresses. (This has carried over to Apple's MobileMe service.)
As of 2009 large parts of the protocol have been reverse-engineered and implemented by an ever-increasing number of third party clients.
The OSCAR protocol can be used separately from AOL's network. In fact, AOL expands on the general concept of OSCAR, adding systems for service side buddy lists and icons, as well as features for file transfers (using Bonjour.)
On March 6, 2006, AOL released the AIM SDK and launched a developer website, allowing developers to build plugins for AIM Triton, and build their own custom clients, which connect over the OSCAR protocol. They had not, at that point, however, released any information about the protocol itself.
On March 5, 2008, AOL released portions of the OSCAR protocol documentation. Google also provided the ability to sign into AIM network via the Google Talk client built into Gmail.
Video OSCAR protocol
Packet structure
All packets sent over OSCAR are encapsulated in the same manner. All 16-bit integers sent over the network are unsigned, and big endian (see Endianness.) This is the same for 32-bit integers, and 8-bit integers (or bytes.)
FLAP header
A special Frame Layer Protocol (FLAP) container encloses every packet. It carries information about packet size, channel, and its number in sequence.
SNAC data
Within almost every packet sent over channel 2, packets contain a SNAC (Simple Network Atomic Communication). There is always either one or zero of these contained in a packet, and therefore they do not contain (nor do they need to) a length.
Maps OSCAR protocol
Implementations
See also
- Comparison of instant messaging clients
- Comparison of instant messaging protocols
- TOC protocol, AOL's free but deprecated messaging protocol
- TOC2 protocol, as of 2009, the most current version of the TOC protocol
References
External links
- Official OSCAR-Documentation (Requires Login) - No longer available (12.07.2010)
- UnOfficial AIM/OSCAR Protocol Specification
- Archived Official Documentation
- FAIM: FAIM/AIM/OSCAR Protocol Specification
Source of article : Wikipedia