in reply to Socket connected function

You might try a port > 1024 and see if that works. On unix systems you need to be root to open a port < 1024. you also might want to test your new socket, such as:
$a = new IO::Socket::INET ( LocalHost => 'localhost', LocalPort => '80', Proto => 'tcp', Listen => 1, Reuse => 1, ) or die "Could not open socket $!";
-- gam3
A picture is worth a thousand words, but takes 200K.

Replies are listed 'Best First'.
Re^2: Socket connected function
by metalgear119 (Acolyte) on Apr 15, 2005 at 14:38 UTC
    Thanks, although it is able to open, send and receive without any problems.