Capture outgoing packages with C# Raw Socket

  • Thread starter Thread starter Brynjar
  • Start date Start date
B

Brynjar

I´m writing a program that is supposed to count upload and download
bytes on either your LAN connection or dial-up connection whith C# Raw
sockets.
I have written a part of it that will already capture all incoming IP
traffic on a certain endpoint if i pass the IP address of the adapter
to sniff, but how do I capture outgoing ????

I can capture incoming with the socket's async receive, but not
outgoing ???

any ideas anyone ??
 
Back
Top