Skip to content

WinDivertRcvSndCtx required while sending packet. #2

Description

@aichemzee

Hi I'm trying to read a lot of packets to a queue and then sending them one by one based on certain conditions / modifications.

However we do require a context while sending the packet. What would be the best way to achieve this?

  1. Should I create a new context for each recv call? This would preserve the context for sending but this would generate a lot of garbage.

  2. Or should I re use the same context for all send / receive calls. Would this cause problems? Since I'll have a few consumer threads for reading and a separate one for dispatching.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions