Find Jobs
Hire Freelancers

help (network programming with perl)

max $5 USD

Closed
Posted about 19 years ago

max $5 USD

Paid on delivery
I just purchases Network Programming with Perl (the book) and from the example on Page 6 I can't get it to work. I tried altering the small perl code but I CANNOT get it to connect to ANY server. System environment: Windows XP home running SP1. The Windows firewall is disabled. We are on a network usind a D-Link DI-524 router. We called their tech team to see how to disable the router firewall and told us to put our PC in DMZ mode (which we did). The error from the code is always: Socket open failed: A socket operation was attempted to an unreachable network. We are trying to get ahold of [login to view URL]:smtp and we can't even ping [login to view URL]'s domain. We can ping other domains but the script still doesn't connect to other domains, just the ping works. The script was uploaded to a linux web host and works perfectly but I cannot get it to work on my PC via commandline. Your job is to figure out how to change the code (with easy code) so I can use this script and continue learning Network Programming in Perl on this windows machine OR find out what settings on my machine I need to change to get it to work. Project is completed once the script is working. The script is: use warnings; use strict; use IO::Socket; my $site = "[login to view URL]"; my $fh = IO::Socket::INET->new($site) or die "Socket open failed: $^E\n"; my $line = <$fh>; print $line; ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Windows XP home, SP1
Project ID: 3694106

About the project

4 proposals
Remote project
Active 19 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $4 USD for this job
User Avatar
See private message.
$3.40 USD in 2 days
4.9 (343 reviews)
6.5
6.5
User Avatar
See private message.
$4.25 USD in 2 days
5.0 (13 reviews)
3.1
3.1
User Avatar
See private message.
$3.40 USD in 2 days
5.0 (4 reviews)
1.6
1.6
User Avatar
See private message.
$3.40 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
4.9
54
Member since Oct 17, 2003

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.