ProtocolType Énumération

Définition

Spécifie les protocoles que la classe Socket prend en charge.

public enum class ProtocolType
public enum ProtocolType
type ProtocolType = 
Public Enum ProtocolType
Héritage
ProtocolType

Champs

Ggp 3

Protocole de passerelle à passerelle.

Icmp 1

Protocole ICMP (Internet Control Message Protocol).

IcmpV6 58

Protocole ICMP (Internet Control Message Protocol) pour IPv6.

Idp 22

Protocole IDP (Internet Datagram Protocol).

Igmp 2

Protocole IGMP (Internet Group Management Protocol).

IP 0

Protocole IP (Internet Protocol).

IPSecAuthenticationHeader 51

IPV6 avec en-tête « Authentication » Pour plus d’informations, consultez la RFC 2292, section 2.2.1, disponible à l’adresse https://www.ietf.org.

IPSecEncapsulatingSecurityPayload 50

IPv6 avec en-tête « Encapsulating Security Payload ».

IPv4 4

Protocole IP (Internet Protocol) version 4.

IPv6 41

Protocole IPv6 (Internet Protocol version 6).

IPv6DestinationOptions 60

IPv6 avec en-tête « Destination Options ».

IPv6FragmentHeader 44

IPv6 avec en-tête « Fragment ».

IPv6HopByHopOptions 0

IPv6 avec en-tête « Hop by Hop Options ».

IPv6NoNextHeader 59

IPv6 avec en-tête « No next ».

IPv6RoutingHeader 43

IPv6 avec en-tête « Routing ».

Ipx 1000

Protocole IPX (Internet Packet Exchange).

ND 77

Protocole ND (Net Disk Protocol) (non officiel).

Pup 12

Protocole PARC (PARC Universal Packet Protocol).

Raw 255

Protocole de paquets Raw IP.

Spx 1256

Protocole SPX (Sequenced Packet Exchange).

SpxII 1257

Protocole SPX (Sequenced Packet Exchange) version 2.

Tcp 6

Protocole TCP (Transmission Control Protocol).

Udp 17

Protocole UDP (User Datagram Protocol).

Unknown -1

Protocole inconnu.

Unspecified 0

Protocole non spécifié.

Remarques

La Socket classe utilise l’énumération ProtocolType pour informer l’API Windows Sockets du protocole demandé. Le logiciel pilote de bas niveau pour le protocole demandé doit être présent sur l’ordinateur pour que le Socket soit correctement créé.

S’applique à

Voir aussi