xtd 0.2.0
socket_information.hpp
Go to the documentation of this file.
1
4#pragma once
7#include "../../object.hpp"
8#include "../../types.hpp"
9#include "../../string.hpp"
10
12namespace xtd {
14 namespace net {
16 namespace sockets {
34 public:
36
39 socket_information() = default;
41
45 socket_information& operator =(const socket_information&) = default;
47
49
60
63 const xtd::array<xtd::byte>& protocol_information() const noexcept;
67 socket_information& protocol_information(const xtd::array<xtd::byte>& value) noexcept;
69
70 private:
72 xtd::array<xtd::byte> protocol_information_;
73 };
74 }
75 }
76}
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:61
const xtd::array< xtd::byte > & protocol_information() const noexcept
Gets the protocol information for a xtd::net::sockets::socket.
socket_information()=default
Initializes a new instance of the xtd::net::sockets::socket_information class.
xtd::net::sockets::socket_information_options options() const noexcept
Gets the options for a xtd::net::sockets::socket.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:44
Contains core_export_ keyword.
#define core_export_
Define shared library export.
Definition core_export.hpp:13
socket_information_options
Describes states for a xtd::net::sockets::socket. This enumeration has a flags attribute that allows ...
Definition socket_information_options.hpp:31
@ none
none of the socket operations.
Definition socket_async_operation.hpp:34
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
Contains xtd::object class.
Contains xtd::net::sockets::socket_information_options enum.
Contains xtd::string alias.
Contains xtd fundamental types.