//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------------------------
namespace System.Net.Sockets
{
//|
///
///
/// Specifies the address families that an instance of the
/// class can use.
///
///
public enum AddressFamily {
//|
///
/// [To be supplied.]
///
Unknown = -1, // Unknown
//|
///
/// [To be supplied.]
///
Unspecified = 0, // unspecified
//|
///
/// [To be supplied.]
///
Unix = 1, // local to host (pipes, portals)
//|
///
/// [To be supplied.]
///
InterNetwork = 2, // internetwork: UDP, TCP, etc.
//|
///
/// [To be supplied.]
///
ImpLink = 3, // arpanet imp addresses
//|
///
/// [To be supplied.]
///
Pup = 4, // pup protocols: e.g. BSP
//|
///
/// [To be supplied.]
///
Chaos = 5, // mit CHAOS protocols
//|
///
/// [To be supplied.]
///
NS = 6, // XEROX NS protocols
//|
///
/// [To be supplied.]
///
Ipx = NS, // IPX and SPX
//|
///
/// [To be supplied.]
///
Iso = 7, // ISO protocols
//|
///
/// [To be supplied.]
///
Osi = Iso, // OSI is ISO
//|
///
/// [To be supplied.]
///
Ecma = 8, // european computer manufacturers
//|
///
/// [To be supplied.]
///
DataKit = 9, // datakit protocols
//|
///
/// [To be supplied.]
///
Ccitt = 10, // CCITT protocols, X.25 etc
//|
///
/// [To be supplied.]
///
Sna = 11, // IBM SNA
//|
///
/// [To be supplied.]
///
DecNet = 12, // DECnet
//|
///
/// [To be supplied.]
///
DataLink = 13, // Direct data link interface
//|
///
/// [To be supplied.]
///
Lat = 14, // LAT
//|
///
/// [To be supplied.]
///
HyperChannel = 15, // NSC Hyperchannel
//|
///
/// [To be supplied.]
///
AppleTalk = 16, // AppleTalk
//|
///
/// [To be supplied.]
///
NetBios = 17, // NetBios-style addresses
//|
///
/// [To be supplied.]
///
VoiceView = 18, // VoiceView
//|
///
/// [To be supplied.]
///
FireFox = 19, // FireFox
//|
///
/// [To be supplied.]
///
Banyan = 21, // Banyan
//|
///
/// [To be supplied.]
///
Atm = 22, // Native ATM Services
//|
///
/// [To be supplied.]
///
InterNetworkV6 = 23, // Internetwork Version 6
//|
///
/// [To be supplied.]
///
Cluster = 24, // Microsoft Wolfpack
//|
///
/// [To be supplied.]
///
Ieee12844 = 25, // IEEE 1284.4 WG AF
//|
///
/// [To be supplied.]
///
Irda = 26, // IrDA
//|
///
/// [To be supplied.]
///
NetworkDesigners = 28, // Network Designers OSI & gateway enabled protocols
//|
///
/// [To be supplied.]
///
Max = 29, // Max
//
//#define AF_UNSPEC 0 // unspecified
//
//// Although AF_UNSPEC is defined for backwards compatibility, using
//// AF_UNSPEC for the "af" parameter when creating a socket is STRONGLY
//// DISCOURAGED. The interpretation of the "protocol" parameter
//// depends on the actual address family chosen. As environments grow
//// to include more and more address families that use overlapping
//// protocol values there is more and more chance of choosing an
//// undesired address family when AF_UNSPEC is used.
//
//#define AF_UNIX 1 // local to host (pipes, portals)
//#define AF_INET 2 // internetwork: UDP, TCP, etc.
//#define AF_IMPLINK 3 // arpanet imp addresses
//#define AF_PUP 4 // pup protocols: e.g. BSP
//#define AF_CHAOS 5 // mit CHAOS protocols
//#define AF_NS 6 // XEROX NS protocols
//#define AF_IPX AF_NS // IPX protocols: IPX, SPX, etc.
//#define AF_ISO 7 // ISO protocols
//#define AF_OSI AF_ISO // OSI is ISO
//#define AF_ECMA 8 // european computer manufacturers
//#define AF_DATAKIT 9 // datakit protocols
//#define AF_CCITT 10 // CCITT protocols, X.25 etc
//#define AF_SNA 11 // IBM SNA
//#define AF_DECnet 12 // DECnet
//#define AF_DLI 13 // Direct data link interface
//#define AF_LAT 14 // LAT
//#define AF_HYLINK 15 // NSC Hyperchannel
//#define AF_APPLETALK 16 // AppleTalk
//#define AF_NETBIOS 17 // NetBios-style addresses
//#define AF_VOICEVIEW 18 // VoiceView
//#define AF_FIREFOX 19 // Protocols from Firefox
//#define AF_UNKNOWN1 20 // Somebody is using this!
//#define AF_BAN 21 // Banyan
//#define AF_ATM 22 // Native ATM Services
//#define AF_INET6 23 // Internetwork Version 6
//#define AF_CLUSTER 24 // Microsoft Wolfpack
//#define AF_12844 25 // IEEE 1284.4 WG AF
//#define AF_IRDA 26 // IrDA
//#define AF_NETDES 28 // Network Designers OSI & gateway enabled protocols
//#define AF_MAX 29
//
}; // enum AddressFamily
} // namespace System.Net.Sockets