site_archiver@lists.apple.com Delivered-To: macnetworkprog@lists.apple.com jeremy On Sep 23, 2005, at 8:21 AM, Mark Thomas wrote: Thanks in advance, Mark. I don't think so (CFSocket is not something i've used very much but it's really just a tiny wrapper around a socket, just enough to integrate a socket into a CFRunLoop_ , cfnetwork will IIRC (although CFSocket can probably handle socks proxies) On 9/14/05, Mark Thomas <maillists@coderus.com> wrote: But CFSocket will is that what you mean ? Thanks Mark. Fred On 9/13/05, Mark Thomas <maillists@coderus.com> wrote: Any body known the answer's - Quinn maybe ? Thanks Mark. Fred Mark. On 9 Sep 2005, at 19:16, Mark Thomas wrote: So anybody know how to work with the proxy to do this ?, I'm guessing browsers manage it some how and detect this ? One way to do this is to use CFNetwork. Fred This email sent to frederick.cheung@gmail.com This email sent to jwyld@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/site_archiver%40lists.... CFSocket does nothing with proxies. You need to get the settings and perform all the proxy protocol work. CFSocket is simply a convenience wrapper on top of sockets. Hi, I have been out on vacation so sorry for re-bring this up. But I was wondering if any of Apple developers would be able to answer whether using CFSocket would be able to work with proxy settings ?, as presently it seems unknown. Open Transport won't do anything for you proxywise. You're basically working at the same level as sockets, but using a legacy library. Hi, Interrupting the the .pac file, would see a bit of OT, so if I used CFNetwork would these deal with any proxy settings for me automatically. Hmmm, makes me wonder if the Open Transport API's would work here as maybe they are build on that and they would work if CFNetwork did. I'm guessing then working with socket's while good for cross platform portability is not good for anything which is built on top of them. Would prefer to keep to BSD socket's or going to have to have a bit of major write to go that way, but not impossible. You can use systemconfiguration (SCDynamicStoreCopyProxies) get the proxy settings and interpret them yourself. Hi, I have some code which test's it connection by using a socket and connecting directly on the server port 80, to check that the server is there, which works great. But if your system is setup on a cooperate network for example and there is a web proxy in the way, and so you system is setup using APC for web browsing. The above test technique doesn't way as the proxy is in the way. _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/ frederick.cheung%40gm ai l.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (Macnetworkprog@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/jwyld% 40apple.com This email sent to site_archiver@lists.apple.com