ethernet card promiscous mode

This is a discussion on ethernet card promiscous mode within the Linux Programming forums, part of the Platform Specific Boards category; how do i make my ethernet interface in promiscous mode so that i could capture all the packets by recv ...

  1. #1
    vicky
    Guest

    Lightbulb ethernet card promiscous mode

    how do i make my ethernet interface in promiscous mode so that i could capture all the packets by recv

    thanx

  2. #2
    Registered User
    Join Date
    Aug 2001
    Location
    computers/ theatre, travelingstudentL>- Northern California NativeNorthern California3D&Tie-DyeStudent1>. Admirer of C Bangalore Net surfingTeacher >/ >0 nagpurteaching >1  >2
    Posts
    61
    id = socket(PF_RAW, SOCK_RAW, RAWPROTO_SNOOP);

    This is for IRIX 6.5 operating system. It should be the same or similair for you system. Check the socket man page.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Bitwise Unwanted Output
    By pobri19 in forum C++ Programming
    Replies: 4
    Last Post: 09-15-2008, 05:07 AM
  2. Vector out of range program crash.
    By Shamino in forum C++ Programming
    Replies: 11
    Last Post: 01-18-2008, 05:37 PM
  3. Segmentation Fault - aaaaaaaah!
    By yogibear in forum C Programming
    Replies: 6
    Last Post: 10-01-2007, 04:21 AM
  4. Blackjack
    By Tommo in forum C Programming
    Replies: 10
    Last Post: 06-20-2007, 09:07 PM
  5. How can I access a struct (from a header file)?
    By loxslay in forum C++ Programming
    Replies: 3
    Last Post: 10-07-2006, 02:25 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21