Steffen Ullrich > Net-Inspect-0.302 > Net::Inspect::L5::NoData

Download:
Net-Inspect-0.302.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Net-Inspect-0.304

NAME ^

Net::Inspect::L5::NoData - handles empty connections

SYNOPSIS ^

 my $guess = Net::Inspect::L5::GuessProtocol->new;
 my $null = Net::Inspect::L5::NoData->new;
 $guess->attach($null);

DESCRIPTION ^

This class is usually used together with Net::Inspect::L5::GuessProtocol to detect and ignore empty connections. It provides a guess_protocol method which returns a new object if the connection is closed and no data were transferred.

syntax highlighting: