The Blueprint Training

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
http vs. socks
What's the difference between http vs. socks proxies? Is there a benefit to one over the other?

Home / FAQ / Core Java Technology / Networking
Explore the anatomy of the cloud, its architecture, and the open source technologies used to build these dynamic and scalable computing and storage platforms.
Download Rational Application Developer. Quickly design, develop, test, analyze, and deploy high-quality Java, Web 2.0, service-oriented architecture (SOA), and portal applications.
What is the difference between a SOCKS proxy and an HTTP proxy?

Created Oct 12, 2000

Garth Somerville

A SOCKS server is a general purpose proxy server that establishes a TCP connection to another server on behalf of a client, then routes all the traffic back and forth between the client and the server. It works for any kind of network protocol on any port. SOCKS Version 5 adds additional support for security and UDP. The SOCKS server does not interpret the network traffic between client and server in any way, and is often used because clients are behind a firewall and are not permitted to establish TCP connections to servers outside the firewall unless they do it through the SOCKS server. Most web browsers for example can be configured to talk to a web server via a SOCKS server. Because the client must first make a connection to the SOCKS server and tell it the host it wants to connect to, the client must be "SOCKS enabled." On Windows, it is possible to "shim" the TCP stack so that all client software is SOCKS enabled. A free SOCKS shim is available from Hummingbird at

An HTTP proxy is similar, and may be used for the same purpose when clients are behind a firewall and are prevented from making outgoing TCP connections to servers outside the firewall. However, unlike the SOCKS server, an HTTP proxy does understand and interpret the network traffic that passes between the client and downstream server, namely the HTTP protocol. Because of this the HTTP proxy can ONLY be used to handle HTTP traffic, but it can be very smart about how it does it. In particular, it can recognize often repeated requests and cache the replies to improve performance. Many ISPs use HTTP proxies regardless of how the browser is configured because they simply route all traffic on port 80 through the proxy server.
SOCKS proxy only establishes connection at TCP level while HTTP proxy interpret traffic at HTTP level. Thus SOCKS proxy can work for any kind of protocol but HTTP Proxy can only handle HTTP traffic.
The HTTP protocol functions are on a higher level than SOCKS protocols. As a result, it can understand traffic coming over a TCP connection, whereas a SOCKS connection cannot. With an HTTP proxy, it is able to receive requests directly from applications which also use HTTP as their protocol according to dissertation abstract writers help.

Users browsing this thread: 1 Guest(s)

Looplines Scrapebox List