The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

 my $guess = Net::Inspect::L5::GuessProtocol->new;
 my $null = Net::Inspect::L5::Socks->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.