Capture outgoing packages with C# Raw Socket

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 ??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top