oday@acsu.buffalo.edu (abdi m oday) (09/10/90)
Hi folks. I need to write a user program that reads all ip packets on the local LAN. I think I can do this using NIT (network Interface Tap) but since this code is ultimately going to run on a MVME-147 board running VxWorks, I'd like to do this with raw sockets since I know they support sockets. My question is, can raw sockets be used to read all packets ? Will the IP layer pass things to the socket even though the packet might not be addressed to the socket, or to the machine itself ( I intend to use the "promisc mode"). I'd appreciate any help with this. thanks -Abdi oday@acsu.buffalo.edu (716) 631-6848