• 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 sockets?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous sockets?


  • Subject: Re: Asynchronous sockets?
  • From: Josh Graessley <email@hidden>
  • Date: Wed, 06 Feb 2002 15:34:12 -0800

If you're in an app with a CFRunLoop, I believe you can use CFSocket. I'm
not familiar with either, so I can't help much beyond that.

-josh

On 2/6/02 3:20 PM, "Tomas Zahradnicky, Jr." <email@hidden>
wrote:

> Hello,
>
> I'd like to create asynchronous socket or at least something similar
> to OT notifier function to be notified of incoming data. I know I can
> use select with 0,0 timeout value to poll for data, but I'd really
> like to know when data income to fill them into my buffer to not poll
> every moment for an incoming data. Is there a way how to get notified
> of incoming data just like in OT?
>
> So, I'd like to do it synchronously and when data arrieves, just it
> in a buffer and I what I don't want to is to poll.
>
>
> -Tomas
_______________________________________________
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.

  • Follow-Ups:
    • Re: Asynchronous sockets?
      • From: Duane Murphy <email@hidden>
    • Re: Asynchronous sockets?
      • From: Douglas Davidson <email@hidden>
References: 
 >Asynchronous sockets? (From: "Tomas Zahradnicky, Jr." <email@hidden>)

  • Prev by Date: Asynchronous sockets?
  • Next by Date: Re: Asynchronous sockets?
  • Previous by thread: Asynchronous sockets?
  • Next by thread: Re: Asynchronous sockets?
  • Index(es):
    • Date
    • Thread