On Wed, Mar 06, 2002 at 02:37:15AM -0500, Ashley Thomas wrote:
> Can libpcap library be used to send packets out thru some interface ?

No, because...

> Are there APIs for that ?

...there aren't, except in WinPcap on Windows and the OpenBSD libpcap.

A future release might have those APIs.

> Is it possible ?

It's possible, but you'd have to use libnet:

        http://www.packetfactory.net/Projects/libnet/

to send them, or write your own code (which is as platform-dependent as
is the capture code in libpcap).
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to