Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

OSCAR protocol

From Wikipedia, the free encyclopedia
Instant messaging and presence information protocol
OSCAR protocol
Communication protocol
PurposeInstant messaging
Developer(s)AOL
Websitedev.aol.com/aim/oscar at theWayback Machine (archived 2008-03-08)

Open System for Communication in Realtime (OSCAR) isAOL'sproprietaryinstant messaging andpresence informationprotocol. It was used by AOL'sAIM instant messaging system andICQ.

Despite its name, the specifications for the protocol remain proprietary. AOL has gone to great lengths to keep competitors (namelyMicrosoft,XMPP, and Cerulean Studios) from implementing compatible clients for their proprietary messaging systems.[1][2] In 2002, AOL signed a contract withApple, Inc., allowing them to use OSCAR (as well as AOL's own code libraries) in theiriChat application. This allowed iChat users to interact with ICQ and AIM users directly. The deal also permitted users of Apple's.Mac service tolog in to the AIM network using their .Mac email addresses. (This has carried over to Apple'sMobileMe service.)

As of 2009[update], large parts of the protocol had beenreverse-engineered and implemented by a 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 usingBonjour.

On March 6, 2006, AOL released the AIMSDK and launched a developer website, allowing developers to build plugins forAIM 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 in to AIM network via theGoogle Talk client built intoGmail.

Packet structure

[edit]

All packets sent over OSCAR are encapsulated in the same manner. All 16-bit integers sent over the network are unsigned, and big endian (seeEndianness.) This is the same for 32-bit integers, and 8-bit integers (or bytes.)

FLAP header

[edit]

A special Frame Layer Protocol (FLAP[3]) container encloses every packet. It carries information about packet size, channel, and its number in sequence.

Offset (hex)FieldType/Size (in bytes)Remarks
00FLAP IDbyte/1Always equal to 2A. It marks the start of the packet.
01Channelbyte/11 = login, 2 = SNAC layer, 3 = error, 4 = disconnect
02Number in sequenceint16/2Incremented by 1 each time a packet is sent. Wraps to 0 after FFFF.
04Data sizeint16/2Size does not include FLAP header

SNAC data

[edit]

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.

Offset (hex)FieldType/Size (in bytes)Remarks
00Foodgroupint16/2The general type of the packet
02Typeint16/2The specific type of the packet
04Flagsint16/2
06Request IDint32/4A request ID, this can be random but clients cannot send this with the Highest Order Bit set.

Implementations

[edit]
Programming
language
Implementations
Clibpurple
GnomeICU
C#NOscar
C++QOscar (Qt)
C# 2.0OscarLib
Goretro-aim-server
aim-oscar-server
Javajoscar
Instant Messenger Lib
daim
Objective-CLibOrange
OCamlmlOscar
PythonTwistedWordsArchived 2011-04-12 at theWayback Machine
PerlNet::OSCAR
PHPWebIcqPro

See also

[edit]

References

[edit]
  1. ^"AOL blocks Trillian IM access • The Register".The Register.
  2. ^"AOL vs. Trillian continues | News | Geek.com". Archived fromthe original on 2016-09-18. Retrieved2018-02-05.
  3. ^"FLAP - Frame Layer Protocol".AOL Developer Network. AOL. 2008-03-05. Archived fromthe original on 2008-03-08. Retrieved2009-11-01.

External links

[edit]
Protocols
(comparison)
Open
Closed
Services
Clients
(comparison)
Single protocol
Multi-protocol
XMPP (Jabber)
MSNP
Defunct
Related
Websites
Related
Former
Retrieved from "https://en.wikipedia.org/w/index.php?title=OSCAR_protocol&oldid=1305079368"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp