Re: SecureTransport and socket I/O
Re: SecureTransport and socket I/O
- Subject: Re: SecureTransport and socket I/O
- From: Mike Kluev <email@hidden>
- Date: Tue, 30 Sep 2003 20:59:29 +0400
On 30/09/2003 01:29, Frederick Cheung wrote:
>
On Monday, Sep 29, 2003, at 23:25 Europe/Paris, Mike Kluev wrote:
>
>
> Then what is the difference between "synchronous blocking" and
>
> "synchronous non-blocking" modes? I would expect the former to
>
> wait for as many bytes as specified and the latter to return
>
> immediately with as many bytes as available.
>
>
>
On OS 9, that was what happened. On OS X, synchronous blocking will
>
block until there is at least some data available (i think a tcp option
>
sets how much this is), and return then, whether or not there is the
>
amount you asked for, whereas non blocking will never block.
Maybe this is just me, but then synchronous blocking mode looks odd on X.
Mike
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.