Is it possible to use my own thread for the captured traffic processing with the help of the queue, using HNAdapter together with HNQueue?
A. Yes, it is. You can create your own thread that will be using Get_FullItem and Return_FreeItem methods. For example: • Set HNAdapter.ReceiveQueue property in HNQueue.Handle; • Create HNPacket objects by queue: HNQueue.AllocItems; • Open network adapter by HNAdapter.OpenAdapter; • Create your own thread for traffic processing that will call HNQueue.Get_FullItem method; • Set HNAdapter.MacFilter property.
Related Questions
- Is it possible to use my own thread for the captured traffic processing with the help of the queue, using HNAdapter together with HNQueue?
- If I use HNAdapter together with HNQueue for the captured traffic processing how fast will HNQueue.OnPacketReceive event call occur?
- Is it possible to process HNPacket objects that do not belong to the queue by HNQueue component?