• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Open Transport on OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open Transport on OS X


  • Subject: Re: Open Transport on OS X
  • From: Josh Graessley <email@hidden>
  • Date: Tue, 9 May 2006 10:20:18 -0700


Beyond OT and the Thread Manager being dead, their existence is a slowly fading memory in the mind of many. You are going to find it harder and harder to find anyone who knows much about it. The implementation on X is just a thin wrapper over the sockets layer and it comes with it's own set of tricky issues.


Bite the bullet, stop using OT. The wrapper was a crutch for legacy apps when Mac OS X first shipped. Mac OS X shipped years ago.

-josh

On May 9, 2006, at 10:05 AM, Duane Murphy wrote:

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Open Transport on OS X (From: "Duane Murphy" <email@hidden>)

  • Prev by Date: Open Transport on OS X
  • Next by Date: Cannot connect to 127.0.0.1
  • Previous by thread: Open Transport on OS X
  • Next by thread: Re: Open Transport on OS X
  • Index(es):
    • Date
    • Thread