ProtocolType Enum
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menentukan protokol yang didukung kelas Socket.
public enum class ProtocolType
public enum ProtocolType
type ProtocolType =
Public Enum ProtocolType
- Warisan
Bidang
| Nama | Nilai | Deskripsi |
|---|---|---|
| Unknown | -1 | Protokol tidak diketahui. |
| IP | 0 | Protokol Internet. |
| IPv6HopByHopOptions | 0 | Header IPv6 Hop by Hop Options. |
| Unspecified | 0 | Protokol yang tidak ditentukan. |
| Icmp | 1 | Protokol Pesan Kontrol Internet. |
| Igmp | 2 | Protokol Manajemen Grup Internet. |
| Ggp | 3 | Protokol Gateway ke Gateway. |
| IPv4 | 4 | Protokol Internet versi 4. |
| Tcp | 6 | Protokol Kontrol Transmisi. |
| Pup | 12 | Protokol Paket Universal PARC. |
| Udp | 17 | Protokol Datagram Pengguna. |
| Idp | 22 | Protokol Datagram Internet. |
| IPv6 | 41 | Protokol Internet versi 6 (IPv6). |
| IPv6RoutingHeader | 43 | Header Perutean IPv6. |
| IPv6FragmentHeader | 44 | Header Fragmen IPv6. |
| IPSecEncapsulatingSecurityPayload | 50 | IPv6 Merangkum header Payload Keamanan. |
| IPSecAuthenticationHeader | 51 | Header Autentikasi IPv6. Untuk detailnya, lihat RFC 2292 bagian 2.2.1, tersedia di https://www.ietf.org. |
| IcmpV6 | 58 | Protokol Pesan Kontrol Internet untuk IPv6. |
| IPv6NoNextHeader | 59 | IPv6 Tidak ada header berikutnya. |
| IPv6DestinationOptions | 60 | Header Opsi Tujuan IPv6. |
| ND | 77 | Net Disk Protocol (tidak resmi). |
| Raw | 255 | Protokol paket IP mentah. |
| Ipx | 1000 | Protokol Exchange Paket Internet. |
| Spx | 1256 | Protokol Exchange Paket Berurutan. |
| SpxII | 1257 | Paket berurutan Exchange protokol versi 2. |
Keterangan
Kelas Socket menggunakan enumerasi ProtocolType untuk menginformasikan API Soket Windows dari protokol yang diminta. Perangkat lunak pengandar tingkat rendah untuk protokol yang diminta harus ada pada komputer agar Socket berhasil dibuat.