Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Net::Server::Multiplex - how to safe close client connection?

by ph0enix (Friar)
on Apr 26, 2004 at 11:10 UTC ( [id://348136]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for $h ($mux->handles()) {
      if ($fhs->{$h}{object}{user}{_id} == $id) {
        $mux->remove($h);   # remove from multiplexer loop
    ...
        last;
      }
    }
    
  2. or download this
    591:
    592:        foreach my $fh (values %{$self->{_handles}}) {
    593:            # Avoid creating a permanent empty hash ref for "$fh"
    ...
    595:            # if it has already been closed.
    596:            next unless exists $self->{_fhs}{$fh};
    597:
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://348136]
Approved by cyocum
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-19 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found