Re: How to use IO::Socket

2003-03-19 Thread Robert Rendler
On Wed, 19 Mar 2003 09:01:28 -0500 Bob Showalter <[EMAIL PROTECTED]> wrote: > > That can't work. You need a port at least. Where are you checking for failed > connection? Do you have "use strict" and -w in your program. > That was just a VERY basic example of creating $client and yes I do use s

RE: How to use IO::Socket

2003-03-19 Thread Bob Showalter
Robert Rendler wrote: > Over the long haul I've made a couple of programs that use sockets > but still I don't understand to very basics of it yet. That is how to > properly send and receive the data. So far what I have been doing is > thus: > > $client = IO::Socket::INET->new('server'); That ca

How to use IO::Socket

2003-03-19 Thread Robert Rendler
Over the long haul I've made a couple of programs that use sockets but still I don't understand to very basics of it yet. That is how to properly send and receive the data. So far what I have been doing is thus: $client = IO::Socket::INET->new('server'); while (<$client>) { chomp; next un