1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Does anyone know how to use SOCKS5 proxies via IE API?

Discussion in 'Proxies' started by myinternetempire, Oct 18, 2014.

  1. myinternetempire

    myinternetempire Jr. VIP Jr. VIP

    Joined:
    Oct 24, 2011
    Messages:
    775
    Likes Received:
    139
    Occupation:
    Internet Marketing | Software Development
    Location:
    Orlando, Florida
    Home Page:
    We have built an APP which relies on the internet explorer API, we are using "InternetSetOption" to set per session proxy.

    Something like this:

    options[1] = new INTERNET_PER_CONN_OPTION
    {
    dwOption = (int)INTERNET_PER_CONN_OptionEnum.INTERNET_PER_CONN_PROXY_SERVER,
    Value = { pszValue = Marshal.StringToHGlobalAnsi(proxyServer) }
    };



    HTTP proxies work fine but when we try to use SOCKS5 it's not working for us. To use socks we tried this:

    socks=server:port
    AND
    socks://socks=server:port

    without any luck...

    Does anyone have any experience getting SOCKS5 to work with InternetSetOption ?
     
  2. WestYorkshire786

    WestYorkshire786 Newbie

    Joined:
    Oct 20, 2014
    Messages:
    14
    Likes Received:
    1
    i am pretty sure your code is pre paralexified