A www.Sockets4.NET class library

AIMConnection Class

AIMConnection is the main class for connecting to AOL instant messenger network

For a list of all members of this type, see AIMConnection Members.

System.Object
   AIMConnection

public class AIMConnection

Remarks

Connect() throws exceptions. Be sure to catch them and monitor AIMConnection.GetLastError() to determine the

Example

Example call in C# to connect and send an instant message.

            AIMConnection c = new AIMConnection("toc.oscar.aol.com",9898);
            c.Connect();
            c.MonitorBuddy("powlette");         // Must watch at least one buddy or you will not appear on buddy listings
            c.Login("username", "password", 50000);
            c.SendIM("to_user", "hi there!");
             

Requirements

Namespace: Sockets4AIM

Assembly: Sockets4AIM (in Sockets4AIM.dll)

See Also

AIMConnection Members | Sockets4AIM Namespace