xtd 0.2.0
socket_shutdown.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../../enum.hpp"
6
8#undef unix
10
12namespace xtd {
14 namespace net {
16 namespace sockets {
31 enum class socket_shutdown {
35 send = 1,
37 both = 2
38 };
39
42 }
43 }
44}
45
49};
Contains enum_ and enum_ut_ keywords.
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:24
socket_shutdown
Defines constants that are used by the xtd::net::sockets::socket::shutdown method.
Definition socket_shutdown.hpp:31
@ send
A socket send operation.
Definition socket_async_operation.hpp:48
@ receive
A socket receive operation.
Definition socket_async_operation.hpp:42
@ send
Disables a xtd::net::sockets::socket for sending. This field is constant.
Definition socket_shutdown.hpp:35
@ receive
Disables a xtd::net::sockets::socket for receiving. This field is constant.
Definition socket_shutdown.hpp:33
@ both
Disables a xtd::net::sockets::socket for both sending and receiving. This field is constant.
Definition socket_shutdown.hpp:37
The xtd::net::sockets namespace provides a managed implementation of the Berkeley Sockets interface f...
Definition address_family.hpp:16
The xtd::net namespace provides a simple programming interface for many of the protocols used on netw...
Definition cookie_exception.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38