Defines transport types for the System.Net.SocketPermission and System.Net.Sockets.Socket classes.
The System.Net.TransportType enumeration defines transport types for the System.Net.SocketPermission and System.Net.Sockets.Socket classes.
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 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. |