Re: Delaying with APC
Re: Delaying with APC
- Subject: Re: Delaying with APC
- From: Jeremy Wyld <email@hidden>
- Date: Fri, 23 Sep 2005 10:19:25 -0700
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.
jeremy
On Sep 23, 2005, at 8:21 AM, Mark Thomas wrote:
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.
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 <email@hidden> wrote:
But CFSocket will is that what you mean ?
Thanks
Mark.
Open Transport won't do anything for you proxywise. You're
basically
working at the same level as sockets, but using a legacy library.
Fred
On 9/13/05, Mark Thomas <email@hidden> wrote:
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.
Any body known the answer's - Quinn maybe ?
Thanks
Mark.
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.
Fred
Mark.
On 9 Sep 2005, at 19:16, Mark Thomas wrote:
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.
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
frederick.cheung@gm
ai
l.com
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:
40apple.com
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