Web proxy in brew

Source: Internet
Author: User

When China Telecom operates brew services, developers may need to apply the corresponding proxy specifications if they need to access server resources on the Internet. There are two ways to set proxy, one way is to set webopt in advance. You need to add the web option in the following code:

AWO [I]. nid = webopt_proxyspec;

AWO [I]. pval = (void *) "http: // 10.0.0.200: 80 ";

The second method is to add the webopt_proxyspec item directly to the iweb_getresponse parameter.

Iweb_getresponse (PAPP-> m_piweb,

(PAPP-> m_piweb, & PWA-> piwresp, & PWA-> CB, pszurl,

Webopt_proxyspec, "http: // 10.0.0.200: 80 ",

Webopt_end ));:

 

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/wireless_com/archive/2010/09/29/5914112.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.