0

i want to write a simple proxy. I don't know what a proxy is. Someone please explain and give a simple http proxy code ?

Tyler Vernon
  • 103
  • 2
  • 3
  • 6

3 Answers3

3

Read RFC2068 and learn about socket programming in C#.

ta.speot.is
  • 26,914
  • 8
  • 68
  • 96
2

Look at the following links
Proxy is a software that is between the client and the server. For example the web browser requests for a web page the requests passes to the proxy then the proxy request the page and sends it back to the web browser.

How to create a simple proxy in C#?
http://msdn.microsoft.com/en-us/library/system.net.sockets.socket_members(v=VS.90).aspx
http://msdn.microsoft.com/en-us/library/system.net.sockets(v=VS.90).aspx

Community
  • 1
  • 1
Vishnu Pradeep
  • 2,087
  • 2
  • 29
  • 56
1

I recommend the Wikipedia article for a good overview of the proxy pattern. If you're talking about proxy servers then Wikipedia is still your friend - a proxy server is a special case of the pattern.

Cameron Skinner
  • 51,692
  • 2
  • 65
  • 86
  • thanks. can you explain more about proxy server – Tyler Vernon Nov 07 '10 at 01:45
  • 3
    A proxy server is just something that sits between the client and the real server and forwards messages on. It may or may not do some processing of the messages, depending on your design goals. Proxy servers are often used to provide a path through a firewall, or to provide a local cache. – Cameron Skinner Nov 07 '10 at 01:47