Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

TransportType Enumeration

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

System.Net Namespace | Socket | SocketPermission

Show:
© 2014 Microsoft. All rights reserved.