mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-14 21:59:15 +00:00
* Run the documentation pipeline when doc/ is edited + various rendering fixes * Fix inverted condition
14 lines
266 B
Markdown
14 lines
266 B
Markdown
# PortProtocol
|
|
|
|
- `TCP` is the default in `winrt_ContainerPortMapping.h`.
|
|
- The value is passed directly to `WslcContainerPortMapping::protocol`.
|
|
|
|
Underlying C values:
|
|
|
|
- `TCP = 0`
|
|
- `UDP = 1`
|
|
|
|
```cpp
|
|
ContainerPortMapping mapping{ 8080, 80, PortProtocol::TCP };
|
|
```
|