Re: OpenTransport behaviour under X
Re: OpenTransport behaviour under X
- Subject: Re: OpenTransport behaviour under X
- From: "Justin C. Walker" <email@hidden>
- Date: Thu, 30 Oct 2003 21:14:48 -0800
On Thursday, October 30, 2003, at 04:32 PM, Marc Stibane wrote:
[snip]
Philip D. Wasson, email@hidden wrote:
I'm pretty sure that the purpose of OTLook is not what you think it's
for. ...
It is not supposed to just tell you whether there's unread data or
not.
But it DID that under MacOS 9.
I think the point is that you were lucky (i.e., you were in fact
depending on an implementation detail, not the letter of the spec).
I'm not an expert on OT, but that is the way I read the thread.
Jason Linhart, email@hidden wrote:
The behavior of the system is completely consistent with the
documentation, and your use of OTLook is inconsistent with the
documentation (you don't call OTRcv until it returns kOTNoDataErr). My
guess would be that because of that you are not going to be able to
get
Apple to change the behavior. Just a guess.
Since OpenTransport is depecated under X anyway (I would use CFNetwork
or
BSD sockets for NEW code), then why on earth did Apple change that
behaviour and break existing code? It is hard enough already, why make
it
even harder?
We did not deliberately break anything. We followed the spec, and
worked very hard to match both the letter of that spec and the
operational characteristics of the native OT stack, but the semantics
of the "socket" and XTI models are sufficiently at odds that it can't
be seamless. In addition, any emulation of a native (sub)system is
bound to have timing differences, and therefore, code that ran without
problems natively won't behave precisely the same.
When you have a few spare moments, try to implement an OT layer on the
socket infrastructure.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | If you're not confused,
| You're not paying attention
*--------------------------------------*-------------------------------*
_______________________________________________
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.