Name

TransportType

Synopsis

This enumeration defines the transport protocols that can be used to communicate over a socket.

public enum TransportType {
   Udp = 1,
   Connectionless = 1,
   Tcp = 2,
   ConnectionOriented = 2,
   All = 3
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) TransportType

Returned By

EndpointPermission.Transport

Passed To

SocketPermission.{AddPermission( ), SocketPermission( )}

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.