开发者

How to write a proxy in C#? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question 开发者_运维知识库

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 ?


Read RFC2068 and learn about socket programming in C#.


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜