Help for this page

Select Code to Download


  1. or download this
    sub new {
        my ($class,$device,$serveraddr,$port)  = @_;
    ...
            'port'       => $port
    
        };
    
  2. or download this
    my $SockObj = Communication->new( $self->{$serveraddr}, $self->{$port}
    +);
    
  3. or download this
    sub Communication::new {
        my $class = shift;
    ...
        $socket->autoflush();
        return bless $socket, $class;
    }