Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SocketAddress Constructor (AddressFamily)

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

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)
public SocketAddress(
	AddressFamily family
)

Parameters

family
Type: System.Net.Sockets.AddressFamily
An AddressFamily enumerated value.

This constructor sets the Size property to 32 bytes. The Size property is less than the associated buffer size by a fixed amount.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.