#include <ip_packet_information.h>
Gets the network interface information that is associated with a call to xtd::net::sockets::socket::receive_message_from or xtd::net::sockets::socket::end_receive_message_from.
- Namespace
- xtd::net::sockets
- Library
- xtd.core
Inherits 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.
|
|
◆ ip_packet_information()
xtd::net::sockets::ip_packet_information::ip_packet_information |
( |
| ) |
|
|
default |
◆ address()
◆ interface()
int32_t xtd::net::sockets::ip_packet_information::interface |
( |
| ) |
const |
|
noexcept |
Gets the network interface information that is associated with a call to xtd::net::sockets::socket::receive_message_from method or xtd::net::sockets::socket::end_receive_message_from.
- Returns
- An int32_t value, which represents the index of the network interface. You can use this index with xtd::net::network_information::network_interface::get_all_network_interfaces() to get more information about the relevant interface.
The documentation for this class was generated from the following file: