UdpClient Methods
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | AllowNatTraversal(Boolean) | Enables or disables Network Address Translation (NAT) traversal on a UdpClient instance. |
![]() | BeginReceive(AsyncCallback^, Object^) | Receives a datagram from a remote host asynchronously. |
![]() | BeginSend(array<Byte>^, Int32, AsyncCallback^, Object^) | Sends a datagram to a remote host asynchronously. The destination was specified previously by a call to Connect. |
![]() | BeginSend(array<Byte>^, Int32, IPEndPoint^, AsyncCallback^, Object^) | Sends a datagram to a destination asynchronously. The destination is specified by a EndPoint. |
![]() | BeginSend(array<Byte>^, Int32, String^, Int32, AsyncCallback^, Object^) | Sends a datagram to a destination asynchronously. The destination is specified by the host name and port number. |
![]() | Close() | Closes the UDP connection. |
![]() | Connect(IPAddress^, Int32) | Establishes a default remote host using the specified IP address and port number. |
![]() | Connect(IPEndPoint^) | Establishes a default remote host using the specified network endpoint. |
![]() | Connect(String^, Int32) | Establishes a default remote host using the specified host name and port number. |
![]() | Dispose() | Releases the managed and unmanaged resources used by the UdpClient. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the UdpClient and optionally releases the managed resources. |
![]() | DropMulticastGroup(IPAddress^) | Leaves a multicast group. |
![]() | DropMulticastGroup(IPAddress^, Int32) | Leaves a multicast group. |
![]() | EndReceive(IAsyncResult^, IPEndPoint^%) | Ends a pending asynchronous receive. |
![]() | EndSend(IAsyncResult^) | Ends a pending asynchronous send. |
![]() | Equals(Object^) | 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 the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | JoinMulticastGroup(Int32, IPAddress^) | Adds a UdpClient to a multicast group. |
![]() | JoinMulticastGroup(IPAddress^) | Adds a UdpClient to a multicast group. |
![]() | JoinMulticastGroup(IPAddress^, Int32) | Adds a UdpClient to a multicast group with the specified Time to Live (TTL). |
![]() | JoinMulticastGroup(IPAddress^, IPAddress^) | Adds a UdpClient to a multicast group. |
![]() | MemberwiseClone() | |
![]() | Receive(IPEndPoint^%) | Returns a UDP datagram that was sent by a remote host. |
![]() | ReceiveAsync() | Returns a UDP datagram asynchronously that was sent by a remote host. |
![]() | Send(array<Byte>^, Int32) | Sends a UDP datagram to a remote host. |
![]() | Send(array<Byte>^, Int32, IPEndPoint^) | Sends a UDP datagram to the host at the specified remote endpoint. |
![]() | Send(array<Byte>^, Int32, String^, Int32) | Sends a UDP datagram to a specified port on a specified remote host. |
![]() | SendAsync(array<Byte>^, Int32) | Sends a UDP datagram asynchronously to a remote host. |
![]() | SendAsync(array<Byte>^, Int32, IPEndPoint^) | Sends a UDP datagram asynchronously to a remote host. |
![]() | SendAsync(array<Byte>^, Int32, String^, Int32) | Sends a UDP datagram asynchronously to a remote host. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |

