xtd 0.2.0
Loading...
Searching...
No Matches
socket_shutdown.h
Go to the documentation of this file.
1
4#pragma once
5#include "../../enum.h"
6
8#undef unix
10
12namespace xtd {
14 namespace net {
16 namespace sockets {
31 enum class socket_shutdown {
33 receive = 0,
35 send = 1,
37 both = 2
38 };
39
42 }
43 }
44}
45
49};
std::vector< xtd::collections::generic::key_value_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.h:22
socket_shutdown
Defines constants that are used by the xtd::net::sockets::socket::shutdown method.
Definition socket_shutdown.h:31
@ receive
A socket receive operation.
@ send
Disables a xtd::net::sockets::socket for sending. This field is constant.
@ receive
Disables a xtd::net::sockets::socket for receiving. This field is constant.
@ both
Disables a xtd::net::sockets::socket for both sending and receiving. This field is constant.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38