Partager via


PORT_PROTOCOL enumeration

[The IPv6 Internet Connection Firewall is available for use in the operating systems specified in the Requirements section. It is unavailable in subsequent versions. Instead, use the Windows Firewall API.]

The PORT_PROTOCOL enumeration defines the set of IPv6 Firewall Configuration protocols.

Syntax

typedef enum PORT_PROTOCOL_ { 
  PORT_PROTOCOL_TCP  = 6,
  PORT_PROTOCOL_UDP  = 17
} PORT_PROTOCOL;

Constants

PORT_PROTOCOL_TCP

Designates TCP protocol.

PORT_PROTOCOL_UDP

Designates UDP protocol.

Requirements

Minimum supported client
Windows XP with SP1 [desktop apps only]
Minimum supported server
None supported
Redistributable
Advanced Networking Pack for Windows XP
Header
Netfwv6.h

See also

IPv6 Firewall Configuration Enumerated Types