CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
socket_flags.h
1
2#pragma once
3
4#include <system/enum_helpers.h>
5
6namespace System {
7namespace Net {
8namespace Sockets {
9
11enum class SocketFlags
12{
14 None = 0x0000,
16 OutOfBand = 0x0001,
18 Peek = 0x0002,
20 DontRoute = 0x0004,
22 Truncated = 0x0100,
24 ControlDataTruncated = 0x0200,
26 Broadcast = 0x0400,
28 Multicast = 0x0800,
30 Partial = 0x8000
31};
32
35DECLARE_ENUM_OPERATORS(System::Net::Sockets::SocketFlags);
37DECLARE_USING_GLOBAL_OPERATORS
39} // namespace Sockets
40} // namespace Net
41} // namespace System
42
44DECLARE_USING_ENUM_OPERATORS(System::Net::Sockets);
Definition: linger_option.h:9
SocketFlags
Provides constant values for the socket messages.
Definition: socket_flags.h:12
@ Truncated
A message is too large to fit into the specified buffer. It has been truncated.
@ Partial
A message sent or received partially.
@ DontRoute
Send a message without using routing tables.
@ Peek
Peek at an incoming message.
@ ControlDataTruncated
The control data is greater than 64 KB and doesn't fit into the internal buffer. It has been truncate...
@ OutOfBand
The out-of-band data is being processed.
@ Broadcast
A broadcast packet.
@ Multicast
A multicast packet.
Definition: db_command.h:9