Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.543.304 Times

POE::Component::Client::Traceroute 0.21

  Date Added: January 26, 2010  |  Visits: 741

POE::Component::Client::Traceroute

Report Broken Link
Printer Friendly Version


Product Homepage
Download (73 downloads)



POE::Component::Client::Traceroute is a non-blocking traceroute client. SYNOPSIS use POE qw(Component::Client::Traceroute); POE::Component::Client::Traceroute->spawn( Alias => tracer, # Defaults to tracer FirstHop => 1, # Defaults to 1 MaxTTL => 16, # Defaults to 32 hops Timeout => 0, # Defaults to never QueryTimeout => 3, # Defaults to 3 seconds Queries => 3, # Defaults to 3 queries per hop BasePort => 33434, # Defaults to 33434 PacketLen => 128, # Defaults to 68 SourceAddress => 0.0.0.0, # Defaults to 0.0.0.0 PerHopPostback => 0, # Defaults to no PerHopPostback Device => eth0, # Defaults to undef UseICMP => 0, # Defaults to 0 Debug => 0, # Defaults to 0 DebugSocket => 0, # Defaults to 0 ); sub some_event_handler { $kernel->post( "tracer", # Post request to tracer component "traceroute", # Ask it to traceroute to an address "trace_response", # Post answers to trace_response $destination, # This is the host to traceroute to [ Queries => 5, # Override the global queries parameter MaxTTL => 30, # Override the global MaxTTL parameter Callback => [ $args ], # Data to send back with postback event ] ); } # This is the sub which is called with the responses from the # Traceroute component. sub trace_response { my ($request,$response) = @_[ARG0, ARG1]; my ($destination, $options, $callback) = @$request; my ($hops, $data, $error) = @$response; if ($hops) { print "Traceroute results for $destinationn"; foreach my $hop (@$data) { my $hopnumber = $hop->{hop}; my $routerip = $hop->{routerip}; my @rtts = @{$hop->{results}}; print "$hopnumbert$routeript"; foreach (@rtts) { if ($_ eq "*") { print "* "; } else { printf "%0.3fms ", $_*1000; } } print "n"; } } warn "Error occurred tracing to $destination: $errorn" if ($error); } or sub another_event_handler { $kernel->post( "tracer", # Post request to tracer component "traceroute", # Ask it to traceroute to an address "trace_response", # Post answers to trace_response $destination, # This is the host to traceroute to [ # The trace_row event will get called after each hop PerHopPostback => trace_row, ] ); } sub trace_row { my ($request,$response) = @_[ARG0, ARG1]; my ($destination, $options, $callback) = @$request; my ($currenthop, $data, $error) = @$response; # $data only contains responses for the current TTL # The structure is the same as for trace_response above } POE::Component::Client::Traceroute is a non-blocking Traceroute client. It lets several other sessions traceroute through it in parallel, and it lets them continue doing other things while they wait for responses..

Requirements: No special requirements
Platforms: Linux
Keyword: Defaults Libraries Maxttl Perhoppostback Poe Poecomponentclienttraceroute Programming Response Trace Tracer Traceroute
Users rating: 0/10

License: Freeware Size: 15.36 KB
USER REVIEWS
More Reviews or Write Review


POE::COMPONENT::CLIENT::TRACEROUTE RELATED
Utilities  -  Dylan Code Collection 1.7
A collection of useful libraries written in the Dylan programming language. The intent of this project is to provide easily accessible libraries for people developing applications using Functional Developer and/or Gwydion Dylan.
673.63 KB  
Programming  -  kin 0.0.2
kin is a set of libraries and tools supporting meta-programming for engineering and technical computing applications. This JVM version of kin has been superseded by the stand-alone version being developed at http://purl.org/net/kin.
477.44 KB  
Libraries  -  Resources 1.04
Resources is a Perl module to handle application defaults in Perl. SYNOPSIS use Resources; $res = new Resources; $res = new Resources "resfile"; Resources are a way to specify information of interest to program or packages. Applications...
18.43 KB  
Development Editors  -  Intel Mobile Platform SDK 1.3
Intel Mobile Platform SDK 1.3 covered by BSD license, enables developers to build mobile-aware applications. It provides a set of libraries and runtime components, and programming interface, common across Windows and Linux platforms.
10.51 MB  
Development Tools  -  phpjabberlib 1.0
This library is capable of connecting to jabber servers (including TLS connection) and sending and receiving XMPP stanza's. It is also planned that this library will also support multiple authentication mechanisms, althogh at this time only plain...
 
Libraries  -  POE::Component::Client::Halo 0.2
POE::Component::Client::Halo is an implementation of the Halo query protocol. SYNOPSIS use Data::Dumper; # for the sample below use POE qw(Component::Client::Halo); my $halo = new POE::Component::Client::Halo( Alias => halo, Timeout =>...
7.17 KB  
Libraries  -  POE::Component::Client::Rcon 0.23
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, );...
6.14 KB  
Libraries  -  POE::Component::Amazon::S3 0.01
POE::Component::Amazon::S3 is a Perl module to work with Amazon S3 using POE. SYNOPSIS use POE qw(Component::Amazon::S3); POE::Component::Amazon::S3->spawn( alias => s3, aws_access_key_id => your S3 id, aws_secret_access_key => your S3...
20.48 KB  
Libraries  -  POE::Component::Server::HTTP 0.09
POE::Component::Server::HTTP is a foundation of a POE HTTP Daemon. SYNOPSIS use POE::Component::Server::HTTP; use HTTP::Status; my $aliases = POE::Component::Server::HTTP->new( Port => 8000, ContentHandler => { / => &handler1, /dir/ =>...
16.38 KB  
Libraries  -  POE::Component::Enc::Mp3 1.2
POE::Component::Enc::Mp3 is a mp3 encoder wrapper. SYNOPSIS use POE qw(Component::Enc::Mp3); $mp3 = POE::Component::Enc::Mp3->new($bitrate => 160); $mp3->enc("/tmp/tst.wav"); POE::Kernel->run(); This POE component encodes raw audio...
3.07 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB