in reply to Re: IO::Socket hangs reading data from server
in thread IO::Socket hangs reading data from server

Thanks for information, with Blocking => 0 the application doesn't hang but it also doesn't seem to allow me to pull any of the response data from the server.

Probably another problem, but I've also tried to pull the response data with:

$socket->send("CLIENT dict4perl\n"); my $buf; while ($socket->recv($buf, 1024)) { print $buf . "\n"; }

But no luck. I'm missing something here.

Replies are listed 'Best First'.
Re^3: IO::Socket hangs reading data from server
by halfbaked (Sexton) on Sep 09, 2010 at 00:28 UTC

    Scratch that it works fine, there's something wiggie with my Mac shell and printing data with a shell script. It works in mod_perl where I want it to work.

    Thanks again for your help.

    This is without a doubt the most useful Web site on the Internet. It's one of the reasons I stick with Perl, other than that it's a kick ass language.