in reply to IO::Socket
That being said - your constuctor for your server socket needs a little tweaking - you don't need to specify LocalAddr. Try this instead:
my $sock = new IO::Socket::INET( LocalPort => 1200, Reuse => 1, Listen => 10, Type => SOCK_STREAM );
UPDATE: I used an IP address for the PeerAddr attribute/key in the client and everything worked fine. I tried localhost, 127.0.0.1, my IP address, and my host name, short and fully qualified and had no problems.
Jeff
L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
F--F--F--F--F--F--F--F--
(the triplet paradiddle)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: IO::Socket
by dsb (Chaplain) on Feb 07, 2001 at 19:59 UTC | |
by Fastolfe (Vicar) on Feb 07, 2001 at 21:40 UTC | |
by dsb (Chaplain) on Feb 07, 2001 at 23:57 UTC | |
by Fastolfe (Vicar) on Feb 08, 2001 at 00:01 UTC | |
by dsb (Chaplain) on Feb 08, 2001 at 00:24 UTC | |
|