Riccardp

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Concurrency handling of ReadPackets and SendPackets #11263
    Riccardp
    Participant

      Great thank you for all the answers and explanations!

      in reply to: Concurrency handling of ReadPackets and SendPackets #11261
      Riccardp
      Participant

        Thank you for the clarification. One last question: does the call of SendPacket/s return immediatly or does it wait for the sending operation to complete before returning?

        in reply to: Problem using filters with C# #11256
        Riccardp
        Participant

          Great, now I understand much better, thank you!

          in reply to: Problem using filters with C# #11254
          Riccardp
          Participant

            Thank you Vadim, that was clearly a dumb mistake by me… now everything works.
            Just another quick question so that I completely understand how filtering works.

            From the experiments I did, the only way I found to redirect some packets and let everything else pass is to use MSTCP_FLAG_TUNNEL for the adapter mode and then specify 2 filters: the first with the action FILTER_PACKET_REDIRECT that intercepts the packets I’m interested in, and then a second filter with action FILTER_PACKET_PASS to let everything else pass through. Am I correct? Or is there a way for example to set the adapter mode in something like “let everything pass” and then use a single filter with the action FILTER_PACKET_REDIRECT?

            Thanks again for your help.

          Viewing 4 posts - 1 through 4 (of 4 total)