NAME

IO::Select::SSL - IO::Socket::SSL compatible IO::Select

SYNOPSIS

use IO::Select::SSL;
my $sel = new IO::Select::SSL;

DESCRIPTION

This module is intended to be a drop-in replacement for IO::Select. However, the can_read method actually handles the very special IO::Socket::SSL handles correctly by returning those handles that still have at least some decrypted characters in the buffer thus won't block when sysread is called.

METHODS

can_read ( [ $timeout ] )

Same as IO::Select except immediately returns handles with pending INPUT data.

select ( READ, WRITE, ERROR [, TIMEOUT ] )

Same as IO::Select except immediately returns handles with pending INPUT data.

pending_handles

Returns a list of readable handles with pending INPUT data.

AUTHOR

Rob Brown <bbb@cpan.org>

SEE ALSO

IO::Select. IO::Socket::SSL.