System.Net.TransportType Enumeration

Defines transport types for the System.Net.SocketPermission and System.Net.Sockets.Socket classes.

Syntax

public enum TransportType

Remarks

The System.Net.TransportType enumeration defines transport types for the System.Net.SocketPermission and System.Net.Sockets.Socket classes.

Members

Member NameDescription
All

All transport types.

Connectionless

The transport type is connectionless, such as UDP. Specifying this value has the same effect as specifying TransportType.Udp.

ConnectionOriented

The transport is connection oriented, such as TCP. Specifying this value has the same effect as specifying TransportType.Tcp.

Tcp

TCP transport.

Udp

UDP transport.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0, 4.0.0.0