Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Network programming with C#

I have a project to do which is packet monitoring. I want to capture each packet receive by specified network interface.

I want to know what I should start with to do my project .... should I learn socket programming first or what? should I learn how to use winpcap under C# or just do my own function.

please advice me from where I should start!!!

I know there are many code in C# out there in the internet for this but I want to learn it by myself but I do not know from where to star!

like image 280
Eyla Avatar asked Jun 08 '26 18:06

Eyla


1 Answers

You sould definitely learn the basics of socket programming first so you understand a little bit about what's going on. Next, I would look into programming using WinPCap, which is a packet capturing library. It's not built directly for .NET but there are, I believe, .NET wrappers or if nothing else you could call the functions by using COM Interop.

like image 56
BobbyShaftoe Avatar answered Jun 11 '26 07:06

BobbyShaftoe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!