• 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: Asynchronous Socket Code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous Socket Code


  • Subject: Re: Asynchronous Socket Code
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 9 Jul 2001 11:44:26 -0700

On Monday, July 9, 2001, at 11:36 AM, Graham Wihlidal wrote:

I am trying to find some code or library for having asynchronous socket code. Something like, installing an event handler which is called whenever data is received, but still allow the user to click buttons in the app with no slow down. I tried writing something myself, but I couldn't get the polling to stay away from a loop (which locks the app until it breaks)

CFSocket will do exactly this (and very little more). If you want more extensive socket support, you can look at (for example) the OmniNetworking framework.

Douglas Davidson


  • Follow-Ups:
    • Re: Asynchronous Socket Code
      • From: Dan Watson <email@hidden>
  • Prev by Date: Asynchronous Socket Code
  • Next by Date: Re: NIAuthentificationButton
  • Previous by thread: Asynchronous Socket Code
  • Next by thread: Re: Asynchronous Socket Code
  • Index(es):
    • Date
    • Thread