xtd - Reference Guide
0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
|
#include <socket_information.h>
Encapsulates the information that is necessary to duplicate a xtd::net::sockets::socket.
Inherits xtd::object.
Public Member Functions | |
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. | |
socket_information & | options (xtd::net::sockets::socket_information_options value) noexcept |
Sets the options for a xtd::net::sockets::socket. | |
const std::vector< byte_t > & | protocol_information () const noexcept |
Gets the protocol information for a xtd::net::sockets::socket. | |
socket_information & | protocol_information (const std::vector< byte_t > &value) noexcept |
Sets the protocol information for a xtd::net::sockets::socket. | |
Public Member Functions inherited from xtd::object | |
object ()=default | |
Create a new instance of the ultimate base class object. | |
virtual bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const |
Gets the type of the current instance. | |
virtual xtd::ustring | to_string () const noexcept |
Returns a std::string that represents the current object. | |
Additional Inherited Members | |
Static Public Member Functions inherited from xtd::object | |
static bool | equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are considered equal. | |
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are the same instance. | |
|
default |
Initializes a new instance of the xtd::net::sockets::socket_information class.
|
noexcept |
Gets the options for a xtd::net::sockets::socket.
|
noexcept |
Sets the options for a xtd::net::sockets::socket.
value | A xtd::net::sockets::socket_information_options instance. |
|
noexcept |
Gets the protocol information for a xtd::net::sockets::socket.
|
noexcept |
Sets the protocol information for a xtd::net::sockets::socket.
value | An array of byte. |