[Winpcap-users] Real time sending packets

ceo at triplebit.com ceo at triplebit.com
Thu Oct 23 16:33:31 GMT 2008


I want to inject UDP packets to the interface in real time. In other words, 
the program should run endlessly,capturing  the interface and for every 
input packet(with the right filter), it should establish a packet from this 
data and send it again to a third address.
What is the most aprroprite function for that- the users guide speaks about 
pcap_sendpacket and pcap_sndqueue_transmit?

Another question-
Does the open function, pcap_open should be called once or twice(once again 
for the packet send) for the above procedure?

I. Lesher
 




More information about the Winpcap-users mailing list