Re: Problem with IO::Socket

xhoster_at_gmail.com
Date: 02/17/05


Date: 17 Feb 2005 00:30:06 GMT

Martin Kissner <news@chaos-net.de> wrote:
>
> >> % ./lgetr.pl wuarchive.wustl.edu:ftp
> >> should print the welcome message of the ftp service on
> >> wuarchive.wustl.edu
> >
> > For me, it does do that.
>
> Thank you for that information.
> What is your OS? Mine is Darwin 7.8 (Mac OS X)
> Which Version of Perl are you using. I am using Perl 5.8.1

Sorry, I should have included that:

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.21-1.1931.2.393.entsmp,
    archname=i386-linux-thread-multi

> >> % ./lgetr.pl mail.hotmail.com:smtp
> >> should print the welcome message of the smtp-server on
> >> mail.motmail.com
> >
> > the smtp-server on mail.hotmail.com doesn't seem to have a welcome
> > message.
>
> With telnet I get
>
> | 220 mc9-f7.hotmail.com Sending unsolicited commercial or bulk e-mail to
> | Microsoft's computer network is prohibited. Other restrictions are
> | found at http://privacy.msn.com/Anti-spam/. Violations will result in
> | use of equipment located in California and other states. Wed, 16 Feb
> | 2005 13:48:09 -0800

For me it just hung, even with telnet. Maybe it was just very slow and I
didn't wait long enough.

> I do still not know how to find out why it doesn't work on my system.
> Any suggestions are welcome.

After you added error checking, did it still hang with the first one, or
did you get a connection refused?

Xho

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service                        $9.95/Month 30GB