Share via


SocketAddress Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates a new instance of the SocketAddress class using the specified address family and buffer size.

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

Syntax

'Declaration
Public Sub New ( _
    family As AddressFamily, _
    size As Integer _
)
public SocketAddress(
    AddressFamily family,
    int size
)
public:
SocketAddress(
    AddressFamily family, 
    int size
)
new : 
        family:AddressFamily * 
        size:int -> SocketAddress
public function SocketAddress(
    family : AddressFamily, 
    size : int
)

Parameters

Remarks

Use this overload to create a new instance of the SocketAddress class with a particular underlying buffer size.

.NET Framework Security

See Also

Reference

SocketAddress Class

System.Net Namespace