Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#======== toritv.pl ===================
foreach $client ($select->can_write(1)) {
# Skip this client if we have nothing to say
next unless exists $outbuffer{$client};
$rv = $client->send($outbuffer{$client}, 0); # <-- this is where it crashes
unless (defined $rv) {
warn "I was told I could write, but I can't.\n";
next;
}
# lots of code goes here...
}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: send: Cannot determine peer address at ./toritv.pl line 183
by moritz (Cardinal) on Jul 10, 2007 at 14:01 UTC | |
by jarmund (Initiate) on Jul 10, 2007 at 17:04 UTC | |
by moritz (Cardinal) on Jul 11, 2007 at 11:37 UTC | |
by targetsmart (Curate) on Jan 03, 2009 at 06:35 UTC |