Re: How to POST using CFSocket
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.