Mark Pizzolato

[...]
> that the reading side of your application will see the packets
> you send with pcap_sendpacket if they aren't restricted from
> reception with a filter you may setup (using pcap_setfilter)
> on the pcap_t returned by pcap_open_live.

OR... you can use the "set loopback behavior" ioctl:


  (ioctls.h)


    /*!
      \brief IOCTL code: set the loopback behavior.

      This IOCTL sets the loopback behavior of the driver with packets sent
by itself: capture or drop.
    */
    #define  BIOCISETLOBBEH 7410                        


-- 
"Fish" (David B. Trout) 
 [email protected]




_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users

Reply via email to