C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-07-2001, 03:38 AM   #1
vicky
Guest
 
Posts: n/a
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
  Reply With Quote
Old 11-07-2001, 12:48 PM   #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.
sigma is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 01:29 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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