This documentation is archived and is not being maintained.

UdpClient Members

Provides User Datagram Protocol (UDP) network services.

The following tables list the members exposed by the UdpClient type.

  Name Description
Public method Supported by the .NET Compact Framework UdpClient Overloaded. Initializes a new instance of the UdpClient class.
Top

(see also Protected Properties )
  Name Description
Public property Available Gets the amount of data received from the network that is available to read.
Public property Supported by the .NET Compact Framework Client Gets or sets the underlying network Socket.
Public property DontFragment Gets or sets a Boolean value that specifies whether the UdpClient allows Internet Protocol (IP) datagrams to be fragmented.
Public property EnableBroadcast Gets or sets a Boolean value that specifies whether the UdpClient may send or receive broadcast packets.
Public property ExclusiveAddressUse Gets or sets a Boolean value that specifies whether the UdpClient allows only one client to use a port.
Public property MulticastLoopback Gets or sets a Boolean value that specifies whether outgoing multicast packets are delivered to the sending application.
Public property Ttl Gets or sets a value that specifies the Time to Live (TTL) value of Internet Protocol (IP) packets sent by the UdpClient.
Top

  Name Description
Protected property Supported by the .NET Compact Framework Active Gets or sets a value indicating whether a default remote host has been established.
Top

(see also Protected Methods )
  Name Description
Public method BeginReceive Receives a datagram from a remote host asynchronously.
Public method BeginSend Overloaded. Sends a datagram to a remote host asynchronously.
Public method Supported by the .NET Compact Framework Close Closes the UDP connection.
Public method Supported by the .NET Compact Framework Connect Overloaded. Establishes a default remote host.
Public method Supported by the .NET Compact Framework DropMulticastGroup Overloaded. Leaves a multicast group.
Public method EndReceive Ends a pending asynchronous receive.
Public method EndSend Ends a pending asynchronous send.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework JoinMulticastGroup Overloaded. Adds a UdpClient to a multicast group.
Public method Supported by the .NET Compact Framework Receive Returns a UDP datagram that was sent by a remote host.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Send Overloaded. Sends a UDP datagram to a remote host.
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Dispose Releases the unmanaged resources used by the UdpClient and optionally releases the managed resources.
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.IDisposable.Dispose Releases all resources used by the UdpClient.
Top
Show: