HttpWebRequest with a specific device

Oct 1, 2011 at 5:58 PM


First of all, sorry for my english level. I'm currently doing some statistics with the HTTP pipelining implementation on different servers.

On my client application, I get and parse a HTML page then I launch many HttpWebRequest (one per <img/> tag) and I sniff the network with pcap.

My problem is that I don't find a way to specify a device for my HttpWebRequest objects.. and if I select another device (wifi device) ,  my HttpWebRequest objects go through the main device (ethernet device) ..

So if somebody has a answer, it would be awesome.

Thanks in advance.

Oct 19, 2011 at 6:57 AM

Hi icl1c,


If I understand correctly, the issue you're having is not related to Pcap.Net.

Maybe this link will help you: