Re: problams with IO::Socket::INET
Graham Barr (gbarr@ti.com)
Tue, 27 Jan 1998 12:16:43 -0600
Saar Ginzburski wrote:
>
> Hi,
>
> I'm trying to create simple Client/Server application using the
> IO::Socket package.
>
> The SERVER script:
>
> ###############################################################
> use IO::Socket;
> $sock = new IO::Socket::INET (LocalHost => "localhost",
That should be LocalAddr not LocalHost
<snip>
> $sock = new IO::Socket::INET (PeerHost => "localhost",
That should be PeerAddr not PeerHost
Graham.
--
Originality is the ability to conceal your source.