xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
net
sockets
socket_information.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
socket_information_options.hpp
"
6
#include "
../../core_export.hpp
"
7
#include "
../../object.hpp
"
8
#include "
../../types.hpp
"
9
#include "
../../string.hpp
"
10
12
namespace
xtd
{
14
namespace
net
{
16
namespace
sockets
{
33
class
core_export_
socket_information
:
public
xtd::object
{
34
public
:
36
39
socket_information
() =
default
;
41
43
socket_information
(
socket_information
&&
socket_information
) =
default
;
44
socket_information
(
const
socket_information
&
socket_information
) =
default
;
45
auto
operator =(
socket_information
&&) ->
socket_information
& =
default
;
46
auto
operator =(
const
socket_information
&) ->
socket_information
& =
default
;
48
50
55
[[nodiscard]]
auto
options
() const noexcept ->
xtd
::
net
::
sockets
::
socket_information_options
;
60
auto
options
(
xtd
::
net
::
sockets
::
socket_information_options
value) noexcept ->
socket_information
&;
61
64
[[nodiscard]] auto
protocol_information
() const noexcept -> const
xtd
::
array
<
xtd
::
byte
>&;
68
auto
protocol_information
(const
xtd
::
array
<
xtd
::
byte
>& value) noexcept ->
socket_information
&;
70
71
private:
72
xtd
::
net
::
sockets
::
socket_information_options
options_ =
xtd
::
net
::
sockets
::
socket_information_options
::none;
73
xtd
::
array
<
xtd
::
byte
> protocol_information_;
74
};
75
}
76
}
77
}
xtd::array
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition
array.hpp:64
xtd::net::sockets::socket_information::options
auto options() const noexcept -> xtd::net::sockets::socket_information_options
Gets the options for a xtd::net::sockets::socket.
xtd::net::sockets::socket_information::protocol_information
auto protocol_information() const noexcept -> const xtd::array< xtd::byte > &
Gets the protocol information for a xtd::net::sockets::socket.
xtd::net::sockets::socket_information::socket_information
socket_information()=default
Initializes a new instance of the xtd::net::sockets::socket_information class.
xtd::object
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition
object.hpp:45
core_export.hpp
Contains core_export_ keyword.
core_export_
#define core_export_
Define shared library export.
Definition
core_export.hpp:13
xtd::net::sockets::socket_information_options
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
xtd::net::sockets
The xtd::net::sockets namespace provides a managed implementation of the Berkeley Sockets interface f...
Definition
address_family.hpp:16
xtd::net
The xtd::net namespace provides a simple programming interface for many of the protocols used on netw...
Definition
cookie_exception.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
object.hpp
Contains xtd::object class.
socket_information_options.hpp
Contains xtd::net::sockets::socket_information_options enum.
string.hpp
Contains xtd::string alias.
types.hpp
Contains xtd fundamental types.
Generated on
for xtd by
Gammasoft
. All rights reserved.