RE: Catching unknown socket (or unknown handle / filehandle)

2003-01-16 Thread Beau E. Cox
Hi - > -Original Message- > From: Admin-Stress [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 5:49 AM > To: perl > Subject: Catching unknown socket (or unknown handle / filehandle) > > > Hi, > > In this example, to 'catch' if the socket could not be created, > by using -

RE: Catching unknown socket (or unknown handle / filehandle)

2003-01-16 Thread Bob Showalter
Admin-Stress wrote: > Hi, > > In this example, to 'catch' if the socket could not be > created, by using -> or die ""; > > #!/usr/bin/perl -w > use IO::Socket; > $remote = IO::Socket::INET->new( > Proto=> "tcp", > PeerAddr => "localh