C # httpwatch: reduce HttpWatch to code that can be used for secondary development,

Source: Internet
Author: User

C # httpwatch: reduce HttpWatch to code that can be used for secondary development,
1. Preface

This is also because of the project's needs. We have two ways to understand packet capture.

1. Use a proxy to capture packets, write a Transit server, and you can get, send, and any data returned by the server. (Because of a problem during the operation, I gave up)

2. If you do not use wincap, you can use Socket. RAW to capture packets. The problem is that packet loss may occur.

First watch:

 

2. Origin of this Article

As a result of reading, the great god's menstrual post, thought for a moment, indeed ,. the Open Source degree of the NET community is indeed catching up with java. c/c ++ is a little worse, because many codes are not easy to find. Even if they are found, they are not easy to be open-source. A lot of code has been written. When. NET was released, the company actually asked all to be rewritten with c ++, because C ++ is not easy to crack with vmp, which is understandable,

I downloaded an Httpwatch open-source code. I don't know how to decompile it or how to obtain it. Here, I developed the code to get the final data. However, the Code is too large to analyze the specific content one by one. So today I looked at the code and analyzed it again to get today's program. I don't dare to hide it in private, so I also want to share it. Maybe everyone will use it as well?

3. Special thanks

Of course, first of all, I would like to thank the original author, who does not have today's code. Thank you again, brother of the menstruation post.

4. Support for Open Source

If it is purely technical, it does not involve business, core content and process operations, and so on, we all support open source and are willing to open source, but for core things, it may be retained. This is beyond doubt.

I have been writing code for more than three years. I don't know what to say. NET's colleagues hope to encourage me.

Download the code: HttpWatch.zip

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.