Re: UDP Sockets & Clock Synchronization
Re: UDP Sockets & Clock Synchronization
- Subject: Re: UDP Sockets & Clock Synchronization
- From: Josh Graessley <email@hidden>
- Date: Thu, 28 Feb 2002 11:59:45 -0800
On 2/28/02 10:04 AM, "Eric Gundrum" <email@hidden> wrote:
>
--- At 10:22 AM -0600 2/28/02, Wade Williams wrote:
>
> (This is why Apple deciding to use standard sockets in OS X was a good
>
> thing. It allows us to use the networking model the rest of the world
>
> uses - sync/blocking with threads, not to mention the fact that Windows or
>
> Unix network code will port over with almost no changes)
>
>
I think everyone with low-level STREAMS-based software would disagree. It
>
is relatively easy to implement sockets on top of STREAMS; it is not
>
possible to go the other way. Apple could easily have provided a sockets
>
library on top of STREAMS for Mac OS 9 and Mac OS X. That they did not is
>
largely a religious issue, not a technical one. As a consequence many
>
existing Mac software titles are late in coming to Mac OS X, if they make
>
it at all.
I probably shouldn't add fuel to the fire, but I just can't resist.
Personally, I never truly appreciated STREAMS until I was moved from working
on OpenTransport to the bsd networking kernel. The STREAMS architecture
seems a lot more versatile with much better defined boundaries between
various pieces of the stack. As a third party developer and then an engineer
inside of Apple I was always frustrated with Apple's decision to go with the
bsd networking stack. There is one reason to go with BSD I had never
considered before working on Mac OS X. Our kernel, stack and (almost) all is
opensource. The STREAMS implementation used for OpenTransport is licensed
from the good folks at Mentat. They make a living off of licensing their
source code. I very much doubt they would let us distribute their source.
Darwin without networking would be pretty silly.
-josh
_______________________________________________
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.