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 {
29 enum class socket_shutdown {
31 receive = 0,
33 send = 1,
35 both = 2
36 };
37
40 }
41 }
42}
43
47};
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:19
socket_shutdown
Defines constants that are used by the xtd::net::sockets::socket::shutdown method.
Definition socket_shutdown.h:29
@ 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:36