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

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..." :(
  • Comment on Re^6: Network Programming With Perl example 1

Replies are listed 'Best First'.
Re^7: Network Programming With Perl example 1
by chas (Priest) on May 01, 2005 at 03:42 UTC
    I'm stumped, then. It must be something about your connection, not Perl. Some other monk may know...
      I will attempt a reinstall of Perl to see if that works for now. Thanks.

        A socket operation attempted to an unreachable network...

        Reinstalling perl is unlikely to have any effect whatsoever on the status of your internet connection. I would presume that you're seeing the effects of a firewall, router, or the like as opposed to a malfunctioning perl install.

        Try opening the relevant port on your router, firewall, et all as appropriate and try the code again.