AddressFamily Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the addressing scheme that an instance of the Socket class can use.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

type AddressFamily

Member nameDescription
AppleTalk

AppleTalk address.

Atm

Native ATM services address.

Banyan

Banyan address.

Ccitt

Addresses for CCITT protocols, such as X.25.

Chaos

Address for MIT CHAOS protocols.

Cluster

Address for Microsoft cluster products.

DataKit

Address for Datakit protocols.

DataLink

Direct data-link interface address.

DecNet

DECnet address.

Ecma

European Computer Manufacturers Association (ECMA) address.

FireFox

FireFox address.

HyperChannel

NSC Hyperchannel address.

Ieee12844

IEEE 1284.4 workgroup address.

ImpLink

ARPANET IMP address.

InterNetwork

Address for IP version 4.

InterNetworkV6

Address for IP version 6.

Ipx

IPX or SPX address.

Irda

IrDA address.

Iso

Address for ISO protocols.

Lat

LAT address.

Max

MAX address.

NetBios

NetBios address.

NetworkDesigners

Address for Network Designers OSI gateway-enabled protocols.

NS

Address for Xerox NS protocols.

Osi

Address for OSI protocols.

Pup

Address for PUP protocols.

Sna

IBM SNA address.

Unix

Unix local to host address.

Unknown

Unknown address family.

Unspecified

Unspecified address family.

VoiceView

VoiceView address.

An AddressFamily member specifies the addressing scheme that a Socket will use to resolve an address. For example, InterNetwork indicates that an IP version 4 address is expected when a Socket connects to an endpoint.

The following example creates a Socket using the InterNetworkAddressFamily.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: