Api to set the NIC in promiscuous mode

Hello Experts,
Currently i working on a project, where its required to set the NIC in promiscuous mode. Is there a free ware or a tool that does this.
I am using the winpcap freeware to capture and decode packets.
Any help is greatly appreciated.

Thanks in advance
sjcuAsked:
Who is Participating?
 
jhanceConnect With a Mentor Commented:
WinPCap certainly does this.  And being open source, you can certainly look at its souce code and use that method.  You can also just use WinPCap itself as the basis of any raw-mode communications you need to do.  It's free and is widely used by a number of commercial applications.

Another alternative is the RawEther product from PCAUSA: http://www.rawether.net

0
 
sjcuAuthor Commented:
Thanx so much. Currenlty by using Winpcap the NIC card is set to the promiscuous mode, but it doesn't work, nor does it give an error when it fails to set to this mode. So i am looking for a third party tool or a freeware of some sort that will allow me to successfuly set the promiscuous mode.
0
 
sjcuAuthor Commented:
Ok its working. Now is there a way for me to test a NIC card after its set to promicous mode and confirm that its actually working ?
Without installing ethreal on a client machine and analyzing the packets and then confirming that the NIC card
supports promiscuous mode? I am sure there is tool some place that does this. ?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.