TransportType Enumeration
.NET Framework 4.5
Defines transport types for the SocketPermission and Socket classes.
Assembly: System (in System.dll)
| Member name | Description | |
|---|---|---|
| All | All transport types. | |
| Connectionless | The transport type is connectionless, such as UDP. Specifying this value has the same effect as specifying Udp. | |
| ConnectionOriented | The transport is connection oriented, such as TCP. Specifying this value has the same effect as specifying Tcp. | |
| Tcp | TCP transport. | |
| Udp | UDP transport. |
The TransportType enumeration defines transport types for the SocketPermission and Socket classes.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.