# ProtocolType

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `13.2.0`
- Kind: `enum`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
enum ProtocolType {
  IP = 0,
  IPv6HopByHopOptions = 1,
  Unspecified = 2,
  Icmp = 3,
  Igmp = 4,
  Ggp = 5,
  IPv4 = 6,
  Tcp = 7,
  Pup = 8,
  Udp = 9,
  Idp = 10,
  IPv6 = 11,
  IPv6RoutingHeader = 12,
  IPv6FragmentHeader = 13,
  IPSecEncapsulatingSecurityPayload = 14,
  IPSecAuthenticationHeader = 15,
  IcmpV6 = 16,
  IPv6NoNextHeader = 17,
  IPv6DestinationOptions = 18,
  ND = 19,
  Raw = 20,
  Ipx = 21,
  Spx = 22,
  SpxII = 23,
  Unknown = 24,
}
```

## Values

- `IP` = `0`
- `IPv6HopByHopOptions` = `1`
- `Unspecified` = `2`
- `Icmp` = `3`
- `Igmp` = `4`
- `Ggp` = `5`
- `IPv4` = `6`
- `Tcp` = `7`
- `Pup` = `8`
- `Udp` = `9`
- `Idp` = `10`
- `IPv6` = `11`
- `IPv6RoutingHeader` = `12`
- `IPv6FragmentHeader` = `13`
- `IPSecEncapsulatingSecurityPayload` = `14`
- `IPSecAuthenticationHeader` = `15`
- `IcmpV6` = `16`
- `IPv6NoNextHeader` = `17`
- `IPv6DestinationOptions` = `18`
- `ND` = `19`
- `Raw` = `20`
- `Ipx` = `21`
- `Spx` = `22`
- `SpxII` = `23`
- `Unknown` = `24`
