ScrapeBox Forum
http vs. socks - Printable Version

+- ScrapeBox Forum (https://www.scrapeboxforum.com)
+-- Forum: Proxies, Pinging, Captcha Talk & ScrapeBox Blog Platforms (https://www.scrapeboxforum.com/Forum-proxies-pinging-captcha-talk-scrapebox-blog-platforms)
+--- Forum: ScrapeBox Proxies (https://www.scrapeboxforum.com/Forum-scrapebox-proxies)
+--- Thread: http vs. socks (/Thread-http-vs-socks)



http vs. socks - utuxia - 07-14-2012

What's the difference between http vs. socks proxies? Is there a benefit to one over the other?


RE: http vs. socks - jack hussey - 08-30-2012


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.
Sponsored
Download Rational Application Developer. Quickly design, develop, test, analyze, and deploy high-quality Java, Web 2.0, service-oriented architecture (SOA), and portal applications.
Sponsored
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 http://www.hummingbird.com/products/nc/socks/index.html.

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.



RE: http vs. socks - AmySilverberg - 10-16-2014

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.


RE: http vs. socks - jeff00 - 10-02-2019

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.