"toc2_login login.oscar.aol.com 5190 YourAOLAccountName YourRoastedPW English \"TIC:\\Revision: 1.61\" 160 US \"\" \"\" 3 0 30303 -kentucky -utf8 simplecode"You have to supply the specifics for:
Let's do the dance:
- You send FLAPON\r\n\r\n as an unframed sequence of bytes to the server
- You receive the Server's signon frame
- You send the Client's signon frame that includes the AOL username (you should have one by now!). Let's call that name u.
- You send a data frame using the toc2_login message described in the toc2 protocol.You have to follow the form of the login message just as it is described. The <address> field is login.oscar.aol.com and the <port> field is 5190. The simple code must be created from your username and password, as described on the toc2 page.
- Server sends you a data frame indicating success, probably mentioning somethng like SIGN_ON: TOC2.0 message.
- You might send toc_add_buddy whoever. It used to be the case that AOL wouldn't show your name on anybody's buddy list unless you have at least one buddy, but that's supposedly fixed now.
- You send toc_init_done
- You should be prepared to receive any number of messages from the server now, and just print them out so you can see what's going on.