Open Transport on OS X
Open Transport on OS X
- Subject: Open Transport on OS X
- From: "Duane Murphy" <email@hidden>
- Date: Tue, 9 May 2006 10:05:21 -0700
Before I get blasted, I know that OpenTransport is dead. No really, it's
really dead.
Sorry. I have "legacy" code that will take some time before it can get
it converted to CFNetwork and friends.
In the mean time, my Open Transport question.
I am using OpenTransport in conjunction with the (traditional) Thread
Manager (yes, it is dead also). Historically, OpenTransport needed
WaitNextEvent to be called in order to give it time to do it's work.
I would like to use this code in a service that may be run with no user
login. I am concerned that calling WaitNextEvent which is not only old
school, but also requires a connection to the Window Server.
What can I call to give OpenTransport time to do its work on OS X but
not require a connection to the Window Server so that I can work as a
service. Is CFRunLoopRun or CFRunLoopRunInMode sufficient?
Thank you for your advice,
...Duane
_______________________________________________
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