You are heremlOscar

mlOscar


In 2004 I created an OCaml library for accessing the AOL instant messenger network. It is no longer maintained, but may be useful as a reference.

Following from the original page:

mlOscar 0.9.0

mlOscar is an OCaml library that facilitates the encoding/decoding of the AOL OSCAR protocol.  Networking functionality is available to enable access to the AIM network

It has been tested using OCaml 3.07.

Download

mloscar-0.9.0.tar.bz2

md5sums are here.

Bugs

The library doesn't handle full 32-bit values correctly on 32-bit systems (the most significant bit is lost). Fortunately,OSCAR doesn't rely on the most significant bit in most (all?) situations [that matter].

The IP address of the aim server is hard-coded into the library. Ideally a DNS lookup should be used. The capability of specifying an alternate server would be nice.

Documentation

Documentation has been lost. To understand how it works, take a look at the sample program.
Changelog can be found here.

Quickstart

mlOscar uses OCamlConf
Type "configure" to generate a Makefile.
buddydump uses OCamlMakefilefor the build process.

Examples

The following example program is included to demonstrate the use of the
library:

  • buddydump - small program that logs on, dumps buddy list
    information to the screen until the user types "q".  A cursory
    examination of the source will reveal how to handle and generate
    various interesting events (such as message typing notification,
    sending messages, processing server acknowledgments, etc.)

Credits

Alexandr Shutko's OSCAR documentation was extremely useful. Ethereal dumps of AIM client-server traffic from gaim and Net::OSCAR were also beneficial.

License

mlOscar is licensed under the MIT license.

Activity Stream

  • Fri, 06/18/2010 - 06:15

  • Twitter cgorski tweeted "Time for a early morning run in da 'burgh #fb" 6:15am#
  • Tue, 06/08/2010 - 17:08

  • Twitter cgorski tweeted "Just landed - Returned to a beautiful day in the District of Columbia! #fb" 5:08pm#
  • Twitter cgorski tweeted "Landed at ORD - two flights down, one to go #fb" 1:57pm#
  • Sat, 06/05/2010 - 09:08

  • Twitter cgorski tweeted "It's 4am and final race prep has begun #fb" 9:08am#
  • Fri, 06/04/2010 - 16:12

  • Twitter cgorski tweeted "In tomorrow's race I'll consume at least 1100 calories of Gu - Chocolate Outrage and Vanilla Bean #fb" 4:12pm#
  • Sat, 05/29/2010 - 10:41

  • Twitter cgorski tweeted "Heading to Pittsburgh today for Dan's wedding - and then to DCA by 8am Monday #fb" 10:41am#
  • Thu, 05/20/2010 - 17:33

  • Twitter cgorski tweeted "Softball on the Mall w/NGP http://twitpic.com/1phxms #NGP" 5:33pm#
  • Twitter cgorski tweeted "RT @petersagal: In DC bar. Cong. aides next to me talking about their "members." Strangely frank." 9:50am#
  • Tue, 05/18/2010 - 10:02

  • Twitter cgorski tweeted "At the Visual Studio 2010 Launch in Arlington - line for dudes in the bathroom after each presentation - no wait for women." 10:02am#
  • Mon, 05/17/2010 - 14:07

  • Twitter cgorski tweeted "http://twitpic.com/1oo7n2 #apostrophefail" 2:07pm#