• 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: Setting Web Proxy programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Web Proxy programmatically


  • Subject: Re: Setting Web Proxy programmatically
  • From: "Cocoa Developer" <email@hidden>
  • Date: Tue, 18 Mar 2008 14:39:32 +0530

Hi Palav,
Yes it is possible.

You need to use SystemConfiguration framework. You can get all proxy
information except authentication. So don't try to get proxy information
from network pane. Its useless.
If you want to use network pane in system preference then use CFSocket.
(Best option)

CFSocket will take care of proxy handling before setting up a new
connection.

For BSD sockets you need to have all information and need to work on proxy
manually.
If u have to use BSD sockets, then have ur own proxy settings in your
application preference pane and use them.

Regards,
Basavaraj



On Tue, Mar 18, 2008 at 2:22 PM, parag vibhute <email@hidden>
wrote:

> Hi all,
>
> My requirement is to set Web Proxy & Secure Web proxy which appears in
> Network pane of System Preferences. I want to achieve this
> programmatically.
>
> Is this possible? Which framework should I use?
>
> Thanks,
> Palav
>
>
> --
>
> There are many things in your life that will catch your eye but only a few
> will catch your heart....pursue those'.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Setting Web Proxy programmatically
      • From: "parag vibhute" <email@hidden>
References: 
 >Setting Web Proxy programmatically (From: "parag vibhute" <email@hidden>)

  • Prev by Date: Setting Web Proxy programmatically
  • Next by Date: NSAppleScript returning wrong error info
  • Previous by thread: Setting Web Proxy programmatically
  • Next by thread: Re: Setting Web Proxy programmatically
  • Index(es):
    • Date
    • Thread