develooper Front page | perl.perl5.porters | Postings from February 2003

Re: [PATCH IO/Socket/] Blocking option ignored

Thread Previous | Thread Next
Nicholas Clark
February 18, 2003 14:41
Re: [PATCH IO/Socket/] Blocking option ignored
Message ID:
On Tue, Feb 18, 2003 at 09:45:45PM +0000, Dave Mitchell wrote:
> Currently IO::Socket::INET->new(Blocking => 0, ....)
> silently fails to set non-blocking, because it attempts to do the fcntl
> (or whatever) on the socket before the socket's been created. This patch
> fixes that.
> (Only tested on Solaris + Linux; I know nothing about those esoteric
> OSes from Redmond.)

Is it possible to write a regression tests for this? Even if it only gets
run on a whitelist of OSes from $^O that we know behave?

I wouldn't expect those OSes from Redmond to be able to do clever things
like non-blocking. After all, they don't grok classless Internet domain

(see or try ping or traceroute
to from your favourite machine/OS)

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About