• 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: Simultaneous read() and write() on same TCP/IP socket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simultaneous read() and write() on same TCP/IP socket


  • Subject: Re: Simultaneous read() and write() on same TCP/IP socket
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Thu, 16 Dec 2010 09:57:30 +0000

On 16 Dec 2010, at 00:43, Jonathon Kuo wrote:

> Is there a certain paradigm you had in mind with respect to using non-blocking sockets with GCD?

You need to research GCD "sources", which are basically a replacement for select().  For example, you can set up a source so that it runs a block on a queue every time a descriptor becomes readable.

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


 _______________________________________________
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

  • Follow-Ups:
    • Re: Simultaneous read() and write() on same TCP/IP socket
      • From: Jonathon Kuo <email@hidden>
References: 
 >Simultaneous read() and write() on same TCP/IP socket (From: Jonathon Kuo <email@hidden>)
 >Re: Simultaneous read() and write() on same TCP/IP socket (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: Simultaneous read() and write() on same TCP/IP socket (From: Jonathon Kuo <email@hidden>)

  • Prev by Date: Re: Simultaneous read() and write() on same TCP/IP socket
  • Next by Date: Re: Simultaneous read() and write() on same TCP/IP socket
  • Previous by thread: Re: Simultaneous read() and write() on same TCP/IP socket
  • Next by thread: Re: Simultaneous read() and write() on same TCP/IP socket
  • Index(es):
    • Date
    • Thread