On Sa. 18. Aug. 2007, 16:23:53, bbinger123@yahoo.com wrote:
Show quoted text> Appartently socket::io::ssl needs blocking set to 0 instead of 'no'
> like all other sockets at creation time.. would be nice if this was
> documented too.
IO::Socket::SSL is derived from IO::Socket::INET which itself is an
IO::Handle. Documentation of IO::Handle states clearly:
$io->blocking ( [ BOOL ] )
If called with an argument "blocking" will turn on
non-blocking
IO if "BOOL" is false, and turn it off if "BOOL" is true.
0 is BOOL, 1 too,
'no','false','true','yes' are not BOOL.
Which IO::* documents, that it should be called with blocking('no') ?