xtd 0.2.0
Loading...
Searching...
No Matches
socket_shutdown_constants.hpp
Go to the documentation of this file.
1
5#pragma once
7#if !defined(__XTD_CORE_NATIVE_LIBRARY__)
8#error "Do not include this file: Internal use only"
9#endif
11
12#include <cstdint>
13
20constexpr int32_t SOCKET_SHUTDOWN_RECEIVE = 0;
21
28constexpr int32_t SOCKET_SHUTDOWN_SEND = 1;
29
36constexpr int32_t SOCKET_SHUTDOWN_BOTH = 2;
constexpr int32_t SOCKET_SHUTDOWN_BOTH
Disables a xtd::net::sockets::socket for both sending and receiving.
Definition socket_shutdown_constants.hpp:36
constexpr int32_t SOCKET_SHUTDOWN_RECEIVE
Disables a xtd::net::sockets::socket for receiving.
Definition socket_shutdown_constants.hpp:20
constexpr int32_t SOCKET_SHUTDOWN_SEND
Disables a xtd::net::sockets::socket for sending.
Definition socket_shutdown_constants.hpp:28