Re: Problem signing on to AIM with Net::AOLIM



Rick Sanders wrote:
I am having trouble getting my script to sign onto to the AOL Instant Messenger server. Using the example in the Net::AOLIM script I get $IM_ERR =6 ("login timeout"). I am able to telnet to the AOL login server port (login.oscar.aol.com port 5198) and it responds so it's not a firewall problem. I have tried this from both Windows XP and Solaris with the same results.

Here is the code I am using. I would be grateful if someone could point out what I am doing wrong. Thanks.

-Rick

#!/usr/bin/perl -w

use Net::AOLIM;
use Strict;

Post real code.


$user = 'my name'; $pass = 'my password'; $aim = Net::AOLIM->new( 'username' => $user, 'password' => $pass, 'login_timeout' => 5, 'callback' => \&handler ); $aim->signon;

Check if this failed, before setting error. unless ( $aim->signon ) {
    $error = $Net::AOLIM::ERROR_MSGS{$IM_ERR};
    print "signon status $error\n";
}
exit;
Not needed.


sub handler {

   print STDOUT "This is the handler\n";
   exit;
}

Maybe you need to set the server? Never used it, however a quick read through the documentation shows the default server as:


    'server' => servername (default toc.oscar.aol.com)

That server and the 'login.oscar.aol.com', you refer to, are two different IPs.
.




Relevant Pages

  • Re: inetd to take telnet request
    ... flavours of TELNET here - so I read on. ... I know about INETD only from long ago with the RS/6000 UNIX, ... server applications" in the CS IP Configuration Guide: ...
    (bit.listserv.ibm-main)
  • Re: Product for Running Embedded C# Application
    ... Telnet sessions or Web sessions with our Web server on the device and a lot ... There's a Telnet server available to Windows CE ... communicates with specific hardware and forwards data to a back end ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: RDP access to SBS 2003 - HELP please
    ... Might I add that 'out of the box', when I first got the server it worked ... of it to the telnet prompt and quit. ... Try the remote desktop connection to see if it works. ... the effect that it can't connect to xxx.xxx.xxx.xxx port 23. ...
    (microsoft.public.windows.server.sbs)
  • Re: Telnet session "Shell process may not have been launched" (Solution)
    ... this is a feature change in win2k3 server. ... Microsoft Online Partner Support ... >the 2003 Security Guide suggests you disable the service, ... but Telnet won't be functional without it. ...
    (microsoft.public.windows.server.general)
  • RE: Your message did not reach some or all of the intended recipie
    ... In your details you are saying to type the following command ... > SMTP telnet session. ... When the issue happens again, in the Exchange Server, please telnet ... > times to close the connection to the server and leave the Telnet session ...
    (microsoft.public.windows.server.sbs)