[Winpcap-users] Real time sending packets

Carlo Medas carlomedas at gmail.com
Fri Oct 24 06:41:42 GMT 2008


Dear Lesher,
please take my answer until Gianluca or some other guru officially answers
you.

I've been doing something like you and I use a single pcap session with
success. Tested on Linux, Windows and Mac.

Br,

\Carlo

On Thu, Oct 23, 2008 at 6:33 PM, <ceo at triplebit.com> wrote:

> 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
>
>
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20081024/2ee5743c/attachment.htm


More information about the Winpcap-users mailing list