{"action":"opened","issue":{"url":"https://api.github.com/repos/PcapDotNet/Pcap.Net/issues/67","labels_url":"https://api.github.com/repos/PcapDotNet/Pcap.Net/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/PcapDotNet/Pcap.Net/issues/67/comments","events_url":"https://api.github.com/repos/PcapDotNet/Pcap.Net/issues/67/events","html_url":"https://github.com/PcapDotNet/Pcap.Net/issues/67","id":120543871,"number":67,"title":"how to receive packets simultaneously and pass them to thread individually","user":{"login":"dovson","id":16162446,"avatar_url":"https://avatars.githubusercontent.com/u/16162446?v=3","gravatar_id":"","url":"https://api.github.com/users/dovson","html_url":"https://github.com/dovson","followers_url":"https://api.github.com/users/dovson/followers","following_url":"https://api.github.com/users/dovson/following{/other_user}","gists_url":"https://api.github.com/users/dovson/gists{/gist_id}","starred_url":"https://api.github.com/users/dovson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovson/subscriptions","organizations_url":"https://api.github.com/users/dovson/orgs","repos_url":"https://api.github.com/users/dovson/repos","events_url":"https://api.github.com/users/dovson/events{/privacy}","received_events_url":"https://api.github.com/users/dovson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-05T09:45:08Z","updated_at":"2015-12-05T09:45:08Z","closed_at":null,"body":"How can i receive packets using pcap.net simultaneously and pass them to different thread. Or how to use threads to handle each packet received\r\ni have a code below but its not working though\r\npublic sub 1()\r\nUsing filter As BerkeleyPacketFilter = communicator.CreateFilter(\"ether dst \" + Privateinterfacemacaddress + \" and not dst host 192.168.1.110\")\r\ncommunicator.SetFilter(filter)\r\nEnd Using\r\nPacketReceivingThread = New Thread(New ThreadStart(Sub() communicator.ReceivePackets(0, AddressOf PacketReceiver) End Sub))\r\nPacketReceivingThread.IsBackground = True\r\nPacketReceivingThread.Start()\r\nEnd Sub\r\n\r\nPrivate Sub PacketReceiver(ByVal receivedpacket As Packet)\r\nmsgbox(\"packet received\")\r\n' process packet\r\nEnd Sub\r\n\r\nit should keep on producing messagebox on the screen but its only producing one at a time which means it will proccess one packet after the other.How can i make it proccess the packet as it it received.i want it to receive each packet and pass each packet to its own thread so that the thread proccess.I am trying to achieve exactly like the asynchronous sockets \r\n"}}