• 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: How to POST using CFSocket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to POST using CFSocket


  • Subject: Re: How to POST using CFSocket
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 7 Nov 2003 09:48:03 -0800

On Nov 7, 2003, at 12:53 AM, ali raza wrote:

2) Is it possible to POST data to a secure (HTTPS) URL
using CFSocket?

3)If i am successfully able to POST to an HTTPS while
running on OS X, will i be able to run the same code
without any change successfully on OS 9.x?

4)Where can i find sample code showing a POST to HTTPS
using CFSocket?

You seem to be under some misconceptions. CFSocket is a CFType that wraps a BSD socket, in order to allow it to serve as a CFRunLoop source. This allows you to be notified in the run loop when data is available on the socket. Notice that nowhere in that description is there any mention of specific higher-level protocols. For higher-level protocols, you want CFNetwork, which relies on CFSocket, not CFSocket directly. Also notice that both BSD sockets and CFRunLoops are mentioned, neither of which are available on Mac OS 9, so you will not be able to use either CFNetwork or CFSocket on Mac OS 9.

Douglas Davidson
_______________________________________________
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: How to POST using CFSocket
      • From: ali raza <email@hidden>
References: 
 >How to POST using CFSocket (From: ali raza <email@hidden>)

  • Prev by Date: socklen_t issue on Panther
  • Next by Date: Re: sockets in Powerplant?
  • Previous by thread: How to POST using CFSocket
  • Next by thread: Re: How to POST using CFSocket
  • Index(es):
    • Date
    • Thread