Net::Inspect::L5::Unknown - handles the connections nobody else deals with
my $guess = Net::Inspect::L5::GuessProtocol->new; my $fallback = Net::Inspect::L5::Unknown->new; $guess->attach($fallback); $fallback->attach(...);
Connection handling flow, which gets used together with Net::Inspect::L5::GuessProtocol in case no other protocol handler matched.
Net::Inspect::L5::GuessProtocol
Will return connection object if it detects, that it is the only flow still attached to the Net::Inspect::L5::GuessProtocol object.
The default implementation will just ignore the connection. To change this behavior subclass it and implement the following methods:
Should return new connection object.
Process the given data. Should return the number of bytes processed.
To install Net::Inspect, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Inspect
CPAN shell
perl -MCPAN -e shell install Net::Inspect
For more information on module installation, please visit the detailed CPAN module installation guide.