CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
socket_type.h
1
2#pragma once
3
4#include <cstdint>
5
6namespace System {
7namespace Net {
8namespace Sockets {
9
11enum class SocketType
12{
15 Stream = 1,
17 Dgram = 2,
19 Raw = 3,
22 Rdm = 4,
25 Seqpacket = 5,
27 Unknown = static_cast<int32_t>(-1)
28};
29} // namespace Sockets
30} // namespace Net
31} // namespace System
SocketType
Enumerates the socket types.
Definition: socket_type.h:12
@ Raw
The type that supports access to the underlying transport protocol.
@ Seqpacket
The type that provides connection-oriented and reliable two-way transfer of ordered byte streams acro...
@ Rdm
The type that supports connectionless, message-oriented, reliably delivered messages,...
@ Dgram
The type that supports datagrams, which are connectionless, unreliable messages of a fixed maximum le...
@ Stream
The type that supports reliable, two-way, connection-based byte streams without duplication of data a...
Definition: db_command.h:9