How to read IP header and its TCP header from RAW socket packet

The C# sample code developed in .NET Framework 4.0 would demonstrate a network sniffer sample that can parse IP, TCP, UDP, and DNS packets.

C# (265.4 KB)
 
 
 
 
 
(0)
1,627 times
Add to favorites
9/21/2016
E-mail Twitter del.icio.us Digg Facebook