Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Network Programming With Perl example 1

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


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 May 01, 2005 at 03: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
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (1)
As of 2024-04-24 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found