TransportType Enumeration
TOC
Collapse the table of content
Expand the table of content

TransportType Enumeration

 

Defines transport types for the SocketPermission and Socket classes.

Namespace:   System.Net
Assembly:  System (in System.dll)

Public Enumeration TransportType

Member nameDescription
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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft