On 14 Nov 1999, Vimal Mathew wrote:

> etc. The Ethernet card (usually) is switched to promiscous mode
> so that it does not discard packets not meant for it, and the sniffer
> opens a raw (AF_INET,SOCK_PACKET/PF_PACKET,SOCK_RAW) socket on that
> interface.
> -

Hi,
 
I have a doubt. suppose the machine has 2 NICs. Then, while opening a
raw socket how can one specify which NIC has to be accessed.
Somebody please shed light on this.

sudheer



--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.

Reply via email to