Files
WSL/doc/docs/api-reference/cpp/enumerations/portprotocol.md
Blue 901cb9c134 Run the documentation pipeline when doc/ is edited + various rendering fixes (#40931)
* Run the documentation pipeline when doc/ is edited + various rendering fixes

* Fix inverted condition
2026-06-28 06:43:01 -07:00

266 B

PortProtocol

  • TCP is the default in winrt_ContainerPortMapping.h.
  • The value is passed directly to WslcContainerPortMapping::protocol.

Underlying C values:

  • TCP = 0
  • UDP = 1
ContainerPortMapping mapping{ 8080, 80, PortProtocol::TCP };