UdpClient Constructor

 
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.

Initializes a new instance of the UdpClient class.

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

NameDescription
System_CAPS_pubmethodUdpClient()

Initializes a new instance of the UdpClient class.

System_CAPS_pubmethodUdpClient(AddressFamily)

Initializes a new instance of the UdpClient class.

System_CAPS_pubmethodUdpClient(Int32)

Initializes a new instance of the UdpClient class and binds it to the local port number provided.

System_CAPS_pubmethodUdpClient(Int32, AddressFamily)

Initializes a new instance of the UdpClient class and binds it to the local port number provided.

System_CAPS_pubmethodUdpClient(IPEndPoint)

Initializes a new instance of the UdpClient class and binds it to the specified local endpoint.

System_CAPS_pubmethodUdpClient(String, Int32)

Initializes a new instance of the UdpClient class and establishes a default remote host.

Return to top
Show: