Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    POE::Component::Client::Rcon 0.23

    Download button

    No screenshots available
    Downloads: 607  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Andrew A. Chen | More programs
    Perl Artistic License / FREE
    January 3rd, 2007, 06:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    POE::Component::Client::Rcon description

    An implementation of the Rcon remote console protocol.

    POE::Component::Client::Rcon is an implementation of the Rcon remote console protocol.

    SYNOPSIS

    use POE qw(Component::Client::Rcon);

    my $rcon = new POE::Component::Client::Rcon(Alias => 'rcon',
    Timeout => 15,
    Retry => 2,
    Bytes => 8192,
    );

    $kernel->post('rcon', 'rcon', 'hl', '127.0.0.1', 27015,
    'rcon_password', 'status',
    'postback_event', 'identifier');

    $kernel->post('rcon', 'players', 'hl', '127.0.0.1', 27015,
    'rcon_password',
    'player_postback_event', 'identifier');

    sub postback_handler {
    my ($type, $ip, $port, $command, $identifier, $response) = @_;
    print "Rcon command of $command_executed to a $type server";
    print " at $ip:$port";
    print " had a identifier of $identifier" if defined $identifier;
    print " returned from the server with:n$responsen";
    }

    sub player_postback_handler {
    my ($type, $ip, $port, $identifier, $players) = @_;
    use Data::Dumper;
    print "Current players at a $type server at $ip:$port";
    print " with identifier of $identifier" if defined $identifier;
    print ":n", Dumper($players);
    }


    POE::Component::Client::Rcon is an implementation of the Rcon protocol -- the protocol commonly used to remotely administer Half-Life, Quake, and RTCW (Return to Castle Wolfenstein) servers. It is capable of handling multiple Rcon requests simultaneously, even multiple requests to the same IP/Port simultaneously.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    remote console | RCON protocol | Perl module | module | Rcon | remote

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM