kyser_sose has asked for the wisdom of the Perl Monks concerning the following question:
I get the following error msg.#!/usr/bin/perl use IO::Socket; $socket = IO::Socket::INET->new(Proto => 'udp', peerPort => 4321, peeraddr => localhost); $socket->send('Hello');
I've tried changing peer to local and for the address using the output from hostname --fqdnsend:cannot determine peer address at line 6
Please help!
Thanks
another Newbie
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: what the?
by wog (Curate) on Feb 02, 2002 at 17:38 UTC | |
|
Re: what the?
by data64 (Chaplain) on Feb 02, 2002 at 17:27 UTC | |
|
Re: what the?
by LukeyBoy (Friar) on Feb 02, 2002 at 17:34 UTC | |
|
Re: Problem with example UDP script from Perl Little Black Book
by kyser_sose (Initiate) on Feb 02, 2002 at 23:45 UTC |