Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SocketAddress Constructor (AddressFamily)

 

Creates a new instance of the SocketAddress class for the given address family.

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

public:
SocketAddress(
	AddressFamily family
)

Parameters

family
Type: System.Net.Sockets::AddressFamily

An AddressFamily enumerated value.

This overload sets the underlying buffer size to 32 bytes.

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:
© 2017 Microsoft