xtd 0.2.0

◆ protocol_type()

xtd::net::sockets::protocol_type xtd::net::sockets::socket::protocol_type ( ) const
noexcept

Gets the protocol type of the xtd::net::sockets::socket.

Returns
One of the xtd::net::sockets::protocol_type values.
Remarks
The xtd::net::sockets::socket::protocol_type property is set when the xtd::net::sockets::socket is created, and specifies the protocol used by that xtd::net::sockets::socket.