I have a wifi module with micro-controller , but my college wifi uses proxy, SO how can I program proxy credentials in my C program so that my wifi module connected to micro-controller can connect to wifi. My wifi connection requires only proxy (like 10.x.abs.pqr) and no username or password authentication.

  • \$\begingroup\$ What kind of proxy? Socks? Squid? \$\endgroup\$ – Majenko Mar 20 '15 at 9:58
  • \$\begingroup\$ we have socks type of proxy network \$\endgroup\$ – user3668717 Mar 20 '15 at 10:03

First you need to understand the SOCKS protocol.


Then you need to implement that in your firmware.

Connecting the WiFi module to the access point is no different to any other access point. Establishing the authentication, IP address, etc is all exactly as per normal.

The only change comes when you want to make a request to the internet. Instead of making a direct request to the internet (say a HTTP "GET" request) you make a SOCKS request to the SOCKS proxy containing your request to the internet.

|improve this answer|||||
  • \$\begingroup\$ How do I implement a socks request ? Any tutorial or documentation I can read. preferably in C. \$\endgroup\$ – user3668717 Mar 20 '15 at 10:50
  • \$\begingroup\$ Everything you need to know is contained in the RFC. tools.ietf.org/html/rfc1928 \$\endgroup\$ – Majenko Mar 20 '15 at 11:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.