TOC protocol

TOC protocol

The TOC protocol, or Talk to OSCAR protocol, was a protocol used by some third-party AOL Instant Messenger clients and several clients that AOL produced itself. Sometime near August 19 2005, AOL discontinued support for the protocol and no longer uses it in any of the instant messaging clients it actively maintains, such as its Windows and Mac clients for the AOL Instant Messenger and ICQ systems. However, it once did produce several of its own TOC clients, including TiK and TAC which are written in Tcl/Tk, TNT which is written in Emacs Lisp, all of which are open source, and a Java client originally called TIC which later became the Quick Buddy web applet. AOL also provided the TOC protocol specification openly to developers in the hopes that they will use it instead of the proprietary OSCAR protocol they use themselves. The TOC2 protocol is still supported.

TOC was an ASCII-based protocol, while OSCAR is a binary protocol. In addition, TOC contained fewer features than its OSCAR counterpart. OSCAR provides such functionality as buddy icons, file transfer, and advertising.

How it works

TOC acted as a wrapper for the OSCAR protocol. In the grand scheme of things, the TOC server was nothing but an OSCAR client that happened to listen on a socket, translating messages between the two protocols. Upon login, the TOC client specified an OSCAR login server (presumably either login.oscar.aol.com or login.icq.com) that the TOC server used on behalf of the client.

TOC used FLAP to encapsulate its messages just as OSCAR does, however, FLAP has been hacked in such a way that it can be implemented on the same port as an HTTP server. By default, the TOC server operated in HTTP mode, indistinguishable from a typical web server. If a connecting client, in place of an HTTP request, writes the string "FLAPON" followed by two CRLFs, TOC would switch gears and start reading FLAP messages. Upon getting a user's profile, the client was expected to re-connect to TOC and use it as an HTTP server, which would host the user's profile in HTML.

Once connected, two basic message formats for communications inside of FLAP existed. Client-to-server messages were sent in a format resembling a Unix-style command line: commands with whitespace-separated arguments, quoting and backslash escape sequences. Server-to-client messages were much simpler: they were sent as colon-separated ASCII strings, in a manner similar to many Unix config files. Thus, it was quite easy to write a client, as the incoming messages were very easy to parse, and outgoing commands were easy to generate.

This is in contrast to OSCAR, which due to the binary representation of data can be more difficult to understand.

ee also

*Comparison of instant messaging protocols

External links

* [http://terraim.cvs.sourceforge.net/*checkout*/terraim/terraim/src/toc/TOC1.txt TOC1 Protocol specification]
* [http://terraim.cvs.sourceforge.net/*checkout*/terraim/terraim/src/toc/TOC2.txt TOC2 Protocol specification]
* [http://gridley.res.carleton.edu/~straitm/final/ History of AIM, OSCAR and TOC]

Implementations

May be erroneous:
* [http://www.jamwt.com/Py-TOC/ Py-TOC] (python)
* [http://search.cpan.org/dist/Net-AIM/AIM.pm Net::AIM] (perl)
* [http://sourceforge.net/projects/phptoclib/ PHPTocLib] (php)
* [http://www.therisenrealm.com/scripts/bluetoc/ BlueTOC] (php)
* [http://tik.sourceforge.net Tik] (Tcl/Tk)
* [http://tnt.sourceforge.net TNT] (Emacs Lisp)
* [http://users.tmok.com/~smike/ TAC] (Tcl, non-GUI)
* [http://toc.oscar.aol.com AOL Quick Buddy Applet (TIC)] (Java Applet)
* naim (ncurses, non-GUI)
* [http://www.miniaim.net miniaim] (C++)

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • TOC — The abbreviation TOC could refer to [alphabetically] : * Monte Toc, a mountain in Italy known for a major landslide * Tactical Operations Center *(ТОЦ) is Russian abbreviation for All Tatar Public Center * TOC (CD) on data CDs * Table of contents …   Wikipedia

  • TOC2 protocol — The TOC2 protocol is an updated version of the TOC protocol, or Talk to OSCAR protocol. Its existence was never documented by AOL and it is only used in a few AOL Instant Messenger clients. Some clients are beginning to offer plugins for TOC2 in… …   Wikipedia

  • OSCAR protocol — OSCAR or Open System for CommunicAtion in Realtime is AOL s flagship instant messaging and presence information protocol. Currently, OSCAR is in use for AOL s two main instant messaging systems: ICQ and AIM. Despite its name, the specifications… …   Wikipedia

  • Microsoft Notification Protocol — This article is about the technical details of Microsoft s IM protocol. For the service itself, see .NET Messenger Service. Microsoft Notification Protocol (MSNP, also known as the Mobile Status Notification Protocol) is an instant messaging… …   Wikipedia

  • Priority ceiling protocol — In real time computing, the priority ceiling protocol is a synchronization protocol for shared resources to avoid unbounded priority inversion and mutual deadlock due to wrong nesting of critical sections. In this protocol each resource is… …   Wikipedia

  • AOL Instant Messenger — Infobox Software name = AOL Instant Messenger caption = Screenshot of the AIM 6.5.x Sign on window author = developer = AOL LLC. released = May 1997 latest release version = 6.8.12.4 latest release date = release date and age|2008|08|07 latest… …   Wikipedia

  • Comparison of instant messaging protocols — Basic general information about the protocols: creator, version, amongst others. Protocol Creator First public release date License Identity (not inc. alias) Asynchronous message relaying Transport Layer Security Unlimited number of contacts… …   Wikipedia

  • naim (software) — Screenshot of naim naim is a messaging and chat program written by Daniel Reed in C; it supports the protocols AIM, ICQ, IRC, and RPI s Lily CMC protocols. Unlike most messaging …   Wikipedia

  • Naim (chat program) — naim is a minimalist messaging and chat program written by Daniel Reed in C; it supports the protocols AIM, ICQ, IRC, and lily (CMC). Unlike most messaging clients, it is not graphical; it runs from the console using the ncurses library. naim is… …   Wikipedia

  • TNT (instant messenger) — TNT is an open source instant messaging client which is designed to use AIM and uses AOLs TOC Protocol. The client is run within Emacs, and is written in Emacs Lisp.The client was originally written by AOL, but AOL abandoned the project around… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”