• 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: Write stream proxy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Write stream proxy


  • Subject: Re: Write stream proxy
  • From: Quinn <email@hidden>
  • Date: Tue, 9 Sep 2008 15:01:25 +0100

At 17:01 -0700 8/9/08, Mark Pauley wrote:
I have no idea how you are doing HTTP with a Socket Read / Write stream pair.

My guess is that Jack is using CFReadStreamCreateForStreamedHTTPRequest to do the HTTP and passing it a read stream that's connected to a socket pair, with the other end of the socket pair connected to his own code that generates the data. This is one of the standard tricks to get around the lack of a support for custom async read streams.


Jack, is that right?

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: Write stream proxy
      • From: Jack Brindle <email@hidden>
References: 
 >Re: Write stream proxy (From: Jack Brindle <email@hidden>)
 >Re: Write stream proxy (From: Mark Pauley <email@hidden>)

  • Prev by Date: Re: Write stream proxy
  • Next by Date: Re: Write stream proxy
  • Previous by thread: Re: Write stream proxy
  • Next by thread: Re: Write stream proxy
  • Index(es):
    • Date
    • Thread