Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Network Programming With Perl example 1

by chas (Priest)
on Apr 30, 2005 at 23:01 UTC ( [id://452962]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^2: Network Programming With Perl example 1
in thread Network Programming With Perl example 1

Works for me (on Windows 98 with Perl 5.6.1):
(using your code)
C:\perl>perl test.pl mail.hotmail.com:smtp 220 mc9-f39.hotmail.com Sending unsolicited commercial or bulk e-mail +to Microso ft's computer network is prohibited. Other restrictions are found at h +ttp://priv acy.msn.com/Anti-spam/. Violations will result in use of equipment loc +ated in Ca lifornia and other states. Sat, 30 Apr 2005 20:00:05 -0700

chas

Replies are listed 'Best First'.
Re^4: Network Programming With Perl example 1
by Anonymous Monk on Apr 30, 2005 at 23:10 UTC
    Well what in the world can be going wrong? Do you think I should re-install Perl? I have 5.8x.
      No, it works fine with Activestate Perl 5.8.0 for me. You have to be connected to the web, of course ;-)
      (I tried it disconnected, and got an "Invalid Argument" error, but I didn't imagine that was the problem you are having. Did you try "perl -c" on your script?)
      chas
        I am connected to the internet via a router:) And I did the -c and it says the syntax is OK. The error I get is "A socket operation attempted to an unreachable network..." :(

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://452962]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.