CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
socket_option_level.h
1
2#pragma once
3
4#include <net/sockets/protocol_type.h>
5
6namespace System {
7namespace Net {
8namespace Sockets {
9
12{
14 Socket = 0xffff,
16 IP = static_cast<int32_t>(System::Net::Sockets::ProtocolType::IP),
18 IPv6 = static_cast<int32_t>(System::Net::Sockets::ProtocolType::IPv6),
20 Tcp = static_cast<int32_t>(System::Net::Sockets::ProtocolType::Tcp),
22 Udp = static_cast<int32_t>(System::Net::Sockets::ProtocolType::Udp)
23};
24} // namespace Sockets
25} // namespace Net
26} // namespace System
The Socket class implements the Berkeley sockets interface.
Definition: socket.h:37
SocketOptionLevel
Defines socket option levels for the 'Socket' class.
Definition: socket_option_level.h:12
@ Tcp
The Transmission Control Protocol.
@ Udp
The User Datagram Protocol.
@ IP
The Internet Protocol.
@ IPv6
The Internet Protocol version 6.
Definition: db_command.h:9