TOC protocol
This article needs additional citations for verification. (July 2016) |
The TOC protocol, or Talk to OSCAR protocol, was a
TOC was an
How it works
TOC acted as a
TOC used
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.
TOC2
The TOC2 protocol is an updated version of the TOC protocol, or "Talk to OSCAR" protocol. Its existence was never documented by
Because of the similarities between TOC1.0 and TOC2.0, they are better defined by their differences, of which there are only a few:
- In TOC1.0, connecting with an empty buddy list would make it so that others are not able to see you online. This has been corrected in TOC2.0.
- In TOC1.0, there is a toc_add_deny command, but no toc_remove_deny. TOC2.0 corrects this as well.
- The sign on process is basically the same as TOC1.0, but with a few new parameters: version, a number, and a code created based on the username and password. The purpose of the number is unknown. The default is 160 and it seems to have no effect if changed.
- Permitting and denying have been revamped and are much easier and full-featured in TOC2.0. The commands toc2_add_permit, toc2_remove_permit, toc2_add_deny, and toc2_remove_deny are all present and accessible at any time.
- Buddy list commands have also been improved. Group management is easier with the toc2_new_group and toc2_del_group commands. Also, it is possible to add or remove more than one buddy at a time, and choose the groups they are in.
- A few syntax changes have also been made, and parameters have been added to some commands. The uses of these parameters are still undetermined.
- Aside from this the only changes from TOC are the fact that a '2' was added on most commands both CLIENT->SERVER and vice versa. E.g. IM_IN2, UPDATE_BUDDY2, etc.
- TOC2 also limits the number of ScreenNames that can log in from a single IP address (10).
See also
References
- ^ "Possible end of AIM support [Update: Confirmed]". 27 July 2012.
External links
- Detailed Specification [dead link ]
- TOC1 Protocol specification
- TOC2 Protocol specification Archived 2022-03-15 at the Wayback Machine
- History of AIM, OSCAR and TOC
Implementations
- TOC
- Py-TOC (python)
- Net::AIM (perl)
- PHPTocLib (php)
- Tik (Tcl/Tk)
- TNT (Emacs Lisp)
- TAC (Tcl, non-GUI)
- AOL Quick Buddy Applet (TIC) (Java Applet)
- naim (ncurses, non-GUI)
- miniaim (C++)
- SimpleAIM (Java)
- TOC2
- TOCSharp (C#)
- Fluent.Toc (C#)
- Raven::Aim (perl)
- Plugin for Miranda Instant Messenger
- PHPTocLib (PHP)
- BlueTOC (PHP)
- TerraIM (C++)
- TNT (Emacs Lisp)