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

C# with socks proxies?

Discussion in 'General Programming Chat' started by xpro, Jun 10, 2011.

  1. xpro

    xpro Regular Member

    Joined:
    Jan 21, 2009
    Messages:
    416
    Likes Received:
    16
    I've wrote a lot of bots using httpwebrequest but it does not support SOCKS proxies and now I'm thinking if I should move to Java because of its HTTPClient. it supports SOCKS proxies as well. From a post I saw on BHW if I use sockets I can use SOCKS proxies? How hard is it to convert my programs from using httpwebrequest to sockets?


    Regards!
     
  2. captchaman

    captchaman Junior Member

    Joined:
    Sep 16, 2010
    Messages:
    190
    Likes Received:
    842
    Occupation:
    Software Programmer
    Location:
    USA
  3. kelvin.thechamp

    kelvin.thechamp Power Member

    Joined:
    Apr 4, 2011
    Messages:
    643
    Likes Received:
    272
    Occupation:
    Account selling , Creating Multithread Bot's
    Location:
    http://spamvilla.com
    Chilkat heavy in usage and quite buggy i suggest get rid of chilkat in a multithread application !
     
  4. xpro

    xpro Regular Member

    Joined:
    Jan 21, 2009
    Messages:
    416
    Likes Received:
    16
    What do you guys think of HTTPClient for Java?
     
  5. jerktronic

    jerktronic Newbie

    Joined:
    Jul 12, 2008
    Messages:
    5
    Likes Received:
    1
    c# can do this. 2 seconds on Google and I searched "c# socks proxy" found an article on codeproject called "C# class for connecting via a SOCKS5 Proxy Server". I can't post the link yet, or I would have.

    Basically, anything that can be done in c# or java or c or c++ can be done in c# or java or c or c++ (unless you are getting down to system level coding). The type of bots you are writing could absolutely be coded in any of the above languages and more (ruby, perl, php to name a few).
     
  6. scriptomania

    scriptomania Junior Member

    Joined:
    Dec 28, 2010
    Messages:
    127
    Likes Received:
    249
    Occupation:
    A full time pirate at sea
    Location:
    The European capital of politics
    jerktronic is very much right.
    Have a look at this http://www.codeproject.com/KB/IP/zasocks5proxy.aspx
     
  7. fbpvaseller

    fbpvaseller Newbie

    Joined:
    Oct 8, 2010
    Messages:
    6
    Likes Received:
    0
    Yes you can do sock programming using c#, its pretty easy you can use book c# network programming
     
  8. maichi

    maichi Newbie

    Joined:
    Aug 29, 2016
    Messages:
    1
    Likes Received:
    0
    Gender:
    Male
    Hi, would you please send me a key for chilkat. I wanna use it, but it quite expensive. Thank you.
     
  9. Tozzy

    Tozzy Regular Member

    Joined:
    Nov 26, 2015
    Messages:
    204
    Likes Received:
    28
    This thread isn't about C but about C# which is quite different.
    Any way C/C++ still have their niches, basically when the program is ran in an environment that requires careful usage of resources or some low-level work.