.NET Framework Class Library
UdpClient Methods
The UdpClient type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
BeginReceive | Receives a datagram from a remote host asynchronously. |
|
BeginSend | Overloaded. Sends a datagram to a remote host asynchronously. |
|
Close | Closes the UDP connection. |
|
Connect | Overloaded. Establishes a default remote host. |
|
Dispose | Releases the unmanaged resources used by the UdpClient and optionally releases the managed resources. |
|
DropMulticastGroup | Overloaded. Leaves a multicast group. |
|
EndReceive | Ends a pending asynchronous receive. |
|
EndSend | Ends a pending asynchronous send. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
JoinMulticastGroup | Overloaded. Adds a UdpClient to a multicast group. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Receive | Returns a UDP datagram that was sent by a remote host. |
|
Send | Overloaded. Sends a UDP datagram to a remote host. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
|
IDisposable.Dispose | Infrastructure. Releases all resources used by the UdpClient. |
See Also