Export (0) Print
Expand All

UdpClient Methods

The methods of the UdpClient class are listed here. For a complete list of UdpClient class members, see the UdpClient Members topic.

Public Methods

public methodClose

Supported by the .NET Compact Framework.

Closes the UDP connection.
public methodConnect

Supported by the .NET Compact Framework.

Overloaded. Establishes a default remote host.
public methodDropMulticastGroup

Supported by the .NET Compact Framework.

Overloaded. Leaves a multicast group.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodJoinMulticastGroup

Supported by the .NET Compact Framework.

Overloaded. Adds a UdpClient to a multicast group.
public methodReceive

Supported by the .NET Compact Framework.

Returns a UDP datagram that was sent by a remote host.
public methodSend

Supported by the .NET Compact Framework.

Overloaded. Sends a UDP datagram to a remote host.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

UdpClient Class | System.Net.Sockets Namespace

Show:
© 2014 Microsoft