This documentation is archived and is not being maintained.
TransportType Enumeration
.NET Framework 1.1
Defines transport types for the SocketPermission and Socket classes.
[Visual Basic] <Serializable> Public Enum TransportType [C#] [Serializable] public enum TransportType [C++] [Serializable] __value public enum TransportType [JScript] public Serializable enum TransportType
Remarks
The TransportType enumeration defines transport types for the SocketPermission and Socket classes.
Members
| 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 System.Net.Sockets.TransportType.Udp. |
| ConnectionOriented | The transport is connection oriented, such as TCP. Specifying this value has the same effect as specifying System.Net.Sockets.TransportType.Tcp. |
| Tcp | TCP transport. |
| Udp | UDP transport. |
Requirements
Namespace: System.Net
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System (in System.dll)
See Also
Show: