Outgoing packets
Date: 10/07/05
(C Sharp) Keywords: software, linux
Is there any way (besides using winpcap) to capture outgoing packets in Windows XP using C#.NET? I have written a neat socket class that binds to an interface and does a great job at throwing events for every packet received, but I don't see a single packet that's sent.
I have also downloaded several "example" applications from various .NET repositories on the internet that purport to capture outgoing packets, but don't.
I have heard of some issue (that may or may not be imagined) that outgoing packets capture using the stock network socket tools in Windows 2000 but not Windows XP. I don't know why this would be true, or even if it is true, but I do not have any software firewalls running on any of my PCs (I have a Linux machine acting as a combination firewall/router/PPPoE (*shudder*)/DHCP/etc. device, but that's my gateway and has nothing to do with the computers from which I am attempting to capture outgoing packets.
Any help, information, or source code is appreciated.
Source: http://www.livejournal.com/community/csharp/37744.html