5#include "../../enum.hpp"
100 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::net::sockets::protocol_family> {{
xtd::net::sockets::protocol_family::unknown,
"unknown"}, {
xtd::net::sockets::protocol_family::unspecified,
"unspecified"}, {
xtd::net::sockets::protocol_family::unix,
"unix"}, {
xtd::net::sockets::protocol_family::inter_network,
"inter_network"}, {
xtd::net::sockets::protocol_family::imp_link,
"imp_link"}, {
xtd::net::sockets::protocol_family::pup,
"pup"}, {
xtd::net::sockets::protocol_family::chaos,
"chaos"}, {
xtd::net::sockets::protocol_family::ipx,
"ipx"}, {
xtd::net::sockets::protocol_family::iso,
"iso"}, {
xtd::net::sockets::protocol_family::ecma,
"ecma"}, {
xtd::net::sockets::protocol_family::data_kit,
"data_kit"}, {
xtd::net::sockets::protocol_family::ccitt,
"ccitt"}, {
xtd::net::sockets::protocol_family::sna,
"sna"}, {
xtd::net::sockets::protocol_family::dec_net,
"dec_net"}, {
xtd::net::sockets::protocol_family::data_link,
"data_link"}, {
xtd::net::sockets::protocol_family::lat,
"lat"}, {
xtd::net::sockets::protocol_family::hyper_channel,
"hyper_channel"}, {
xtd::net::sockets::protocol_family::apple_talk,
"apple_talk"}, {
xtd::net::sockets::protocol_family::net_bios,
"net_bios"}, {
xtd::net::sockets::protocol_family::voice_view,
"voice_view"}, {
xtd::net::sockets::protocol_family::fire_fox,
"fire_fox"}, {
xtd::net::sockets::protocol_family::banyan,
"banyan"}, {
xtd::net::sockets::protocol_family::atm,
"atm"}, {
xtd::net::sockets::protocol_family::inter_network_v6,
"inter_network_v6"}, {
xtd::net::sockets::protocol_family::cluster,
"cluster"}, {
xtd::net::sockets::protocol_family::ieee12844,
"ieee12844"}, {
xtd::net::sockets::protocol_family::irda,
"irda"}, {
xtd::net::sockets::protocol_family::network_designers,
"network_designers"}, {
xtd::net::sockets::protocol_family::max,
"max"}};}
protocol_family
Specifies the type of protocol that an instance of the xtd::net::sockets::socket class can use.
Definition protocol_family.hpp:30
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:22
@ cluster
Microsoft cluster products protocol.
@ ieee12844
IEEE 1284.4 workgroup protocol.
@ inter_network
IP version 4 protocol.
@ network_designers
Network Designers OSI gateway-enabled protocol.
@ ipx
IPX or SPX protocol.
@ unix
Unix local to host protocol.
@ data_link
Direct data-link interface protocol.
@ atm
Native ATM services protocol.
@ voice_view
VoiceView protocol.
@ apple_talk
AppleTalk protocol.
@ ccitt
CCITT protocols, such as X.25.
@ hyper_channel
NSC Hyperchannel protocol.
@ inter_network_v6
IP version 6 protocol.
@ data_kit
Datakit protocols.
@ imp_link
ARPANET IMP protocol.
@ unknown
Unknown protocol.
@ net_bios
NetBios protocol.
@ ecma
European Computer Manufacturers Association (ECMA) protocol.
@ unspecified
Unspecified protocol.
@ fire_fox
FireFox protocol.
@ chaos
MIT CHAOS protocols.
@ dec_net
DECnet protocol.
@ cluster
Address for Microsoft cluster products.
@ ieee12844
IEEE 1284.4 workgroup address.
@ inter_network
Address for IP version 4.
@ network_designers
Address for Network Designers OSI gateway-enabled protocols.
@ unix
Unix local to host address.
@ data_link
Direct data-link interface address.
@ pup
Address for PUP protocols.
@ atm
Native ATM services address.
@ osi
Address for OSI protocols.
@ voice_view
VoiceView address.
@ apple_talk
AppleTalk address.
@ ccitt
Addresses for CCITT protocols, such as X.25.
@ hyper_channel
NSC Hyperchannel address.
@ inter_network_v6
Address for IP version 6.
@ data_kit
Address for Datakit protocols.
@ imp_link
ARPANET IMP address.
@ unknown
Unknown address family.
@ net_bios
NetBios address.
@ ecma
European Computer Manufacturers Association (ECMA) address.
@ unspecified
Unspecified address family.
@ fire_fox
FireFox address.
@ iso
Address for ISO protocols.
@ chaos
Address for MIT CHAOS protocols.
@ ns
Address for Xerox NS protocols.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38