Packet transports
Packet queues for any channel of IP packets - a device, a socket, a pipe: a transport takes packets from many senders, queues them and hands them to your code on a sending loop of its own. It is how VpnHood moves packets between its tunnels, its adapters and its TCP stack.
When to use it
- You write a channel of IP packets, over a device, a socket or a pipe, and want its queue, its sending loop and the packets' ownership done for you.
- Several flows share one link, and one that floods may not starve the rest: the fair queue keeps it mostly in its own lane.
Its package
| Package | What it does | |
|---|---|---|
| VpnHood.Net.PacketTransports | Two-way channels of IP packets: send queues, batching, and a fair queue that keeps a flooding flow from starving the others. | Guide · API |