Moving from OT to sockets
Moving from OT to sockets
- Subject: Moving from OT to sockets
- From: Mark Thomas <email@hidden>
- Date: Mon, 18 Oct 2004 22:33:48 +0100
- Organization: Coderus Ltd
Hi,
I'm starting the process of finally moving some code from good old
OpenTransport to BSD Sockets, but I wanted to ask in how the best way
forward.
As a lot of the code and structure it would be easier if I move the OT
code into class structure where I could choose between OT or BSD sockets so
I can keep alive the Classic side of things, while moving the BSD sockets to
take advantage of the new functionality.
One thing I have been wondering about how would the best way to handle the
OT concept of Notifiers as in MacOS-X they're really just an separate thread
of execution, so I'm wondering if calls which which should be asynchronous
should just create another thread and then execute what they need so they
will block that thread and leave the other main thread free.
Is this sort of thing which happens now or does OT use some more clever
parts of BSD Sockets, as I would be a bit newbie there. Should I thinking of
other stuff maybe ???.
Does anybody have some insights into this, to help with transition, would
the Apple bods be able to comment as this would be a great help as if I can
have notice that nothing is happening with OT these days :-(.
Thanks
Mark.
PS - It would be useful if Apple aren't going to develop anymore on an old
technology if it could be Open Sourced :-), but I guess it won't, due to
legal stuff.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden