Gisle Aas wrote:

> "$Bill Luebkert" <[EMAIL PROTECTED]> writes:
> 
> 
>>You could also do non-blocking writes by setting TCP_NODELAY:
>>      $s->setsockopt(IPPROTO_TCP, TCP_NODELAY, 1);
> 
> The TCP_NODELAY option controls the Nagle algorithm, not whether the
> socket is blocking or not.  Besides, the question was about Unix
> domain sockets and there is no TCP involved for those.

Sorry - that's just a forced write for the output buffer on INET sockets.

> The $s->blocking(0) should be more likely to work.

I'm not sure how $s->blocking is actually accomplished since the code is
hidden in the extension.

I think I meant to refer to the FIONBIO ioctl when I said that.


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to