How to read Http port in c#?

how can we read http port in c#

Answers


Given the lack of detail in the question, here is a broad spectrum dose answer

If you want to write an HTTP Server you can

  1. Use HttpListener

  2. Use TcpLister class and write your own TCP server

  3. Use the Socket class and write your own TCP server

If your intention is to monitor the HTTP traffic that your server is receiving then you can

  1. Use WinPCap (SharpPCap) to capture the traffic and filter the traffic you are interested in

If your intention is to send HTTP traffic to a server

  1. Look at WebRequest class

  2. Loot at WebClient class


Need Your Help

Javascript confirmation dialog on href-link?

javascript html javascript-events

I want this link to have a javascript dialog that asks the user "Are you sure? Y/N".

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.