in reply to Re^3: Advice on perl socket activity
in thread Advice on perl socket activity
very nice code. If it took 3 secs for the echo HELLO to complete, and in that 3 secs there was output, wouldn't the output get dropped ? Thanks update: I think I have something workable, using print instead of put, I am not missing anything yet. Print has no timeout. Thanks for your prodding.my $ok = $t->put(String => "echo HELLO\n", Timeout => 10, Errmode => "return");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Advice on perl socket activity
by gmargo (Hermit) on Nov 06, 2009 at 15:58 UTC |