• 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: Rudy Richter <email@hidden>
  • Date: Thu, 16 Dec 2010 12:25:12 -0500

You might want to take a look at Mike Ash's implementation: https://github.com/mikeash/MAAsyncIO

-rudy

On Dec 16, 2010, at 12:09 PM, Jonathon Kuo wrote:

> On Dec 16, 2010, at 1:57 AM, Quinn The Eskimo! wrote:
>>
>> 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.
>
> Wow, that's totally cool. Thanks for the direction. I'm on it!
>
> _______________________________________________
> 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

 _______________________________________________
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: 
 >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>)
 >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: TCP SYN packet not send after ARP
  • 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