From: Xend on
are there one function can set packet capture to promisc mode in linux
library??
how can i get current vaild NIC in c programming with linux?
From: Robert Harris on
Xend wrote:
> are there one function can set packet capture to promisc mode in linux
> library??

man 7 packet tells you most of the story.

> how can i get current vaild NIC in c programming with linux?

If you want to get, e.g. "eth0", then parse the output of "ifconfig -s"

Robert
 | 
Pages: 1
Prev: Belkin Router
Next: Ping and DUP's