Re: ip address and the device
- From: Zheng Da <zhengda1936@xxxxxxxxx>
- Date: Thu, 28 Dec 2006 12:56:19 +0100
David Schwartz wrote:
Zheng Da wrote:Sorry, I mean I want to use libpcap to capture packets from the specified ip address. But using pcap_open_live(), I should specify the device name. But I have the ip address, how can I get the device name in my program? I hope my program can find the device itself.
I want to capture packets from the specified ip address.
Given the ip address, how do I get the device I need to listen on. Is it
possible to get the device by programming?
Your question gives us no idea what you're actually asking.
As just a single example of how ambiguous it is, what is the "I"? Do
you mean an actual human being? Or a program on a computer?
One more: you ask about "the device", but what does that mean? Are we
talking about a single computer that has more than one network
interface?
DS
Zheng Da
--
Posted via a free Usenet account from http://www.teranews.com
.
- References:
- ip address and the device
- From: Zheng Da
- Re: ip address and the device
- From: David Schwartz
- ip address and the device
- Prev by Date: Re: Basp on Broadcom 5704
- Next by Date: Re: Basp on Broadcom 5704
- Previous by thread: Re: ip address and the device
- Next by thread: Re: ip address and the device
- Index(es):