UdpClient Methods

 

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

NameDescription
System_CAPS_pubmethodAllowNatTraversal(Boolean)

Enables or disables Network Address Translation (NAT) traversal on a UdpClient instance.

System_CAPS_pubmethodBeginReceive(AsyncCallback, Object)

Receives a datagram from a remote host asynchronously.

System_CAPS_pubmethodBeginSend(Byte[], Int32, AsyncCallback, Object)

Sends a datagram to a remote host asynchronously. The destination was specified previously by a call to Connect.

System_CAPS_pubmethodBeginSend(Byte[], Int32, IPEndPoint, AsyncCallback, Object)

Sends a datagram to a destination asynchronously. The destination is specified by a EndPoint.

System_CAPS_pubmethodBeginSend(Byte[], Int32, String, Int32, AsyncCallback, Object)

Sends a datagram to a destination asynchronously. The destination is specified by the host name and port number.

System_CAPS_pubmethodClose()

Closes the UDP connection.

System_CAPS_pubmethodConnect(IPAddress, Int32)

Establishes a default remote host using the specified IP address and port number.

System_CAPS_pubmethodConnect(IPEndPoint)

Establishes a default remote host using the specified network endpoint.

System_CAPS_pubmethodConnect(String, Int32)

Establishes a default remote host using the specified host name and port number.

System_CAPS_pubmethodDispose()

Releases the managed and unmanaged resources used by the UdpClient.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the UdpClient and optionally releases the managed resources.

System_CAPS_pubmethodDropMulticastGroup(IPAddress)

Leaves a multicast group.

System_CAPS_pubmethodDropMulticastGroup(IPAddress, Int32)

Leaves a multicast group.

System_CAPS_pubmethodEndReceive(IAsyncResult, IPEndPoint)

Ends a pending asynchronous receive.

System_CAPS_pubmethodEndSend(IAsyncResult)

Ends a pending asynchronous send.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodJoinMulticastGroup(Int32, IPAddress)

Adds a UdpClient to a multicast group.

System_CAPS_pubmethodJoinMulticastGroup(IPAddress)

Adds a UdpClient to a multicast group.

System_CAPS_pubmethodJoinMulticastGroup(IPAddress, Int32)

Adds a UdpClient to a multicast group with the specified Time to Live (TTL).

System_CAPS_pubmethodJoinMulticastGroup(IPAddress, IPAddress)

Adds a UdpClient to a multicast group.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodReceive(IPEndPoint)

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

System_CAPS_pubmethodReceiveAsync()

Returns a UDP datagram asynchronously that was sent by a remote host.

System_CAPS_pubmethodSend(Byte[], Int32)

Sends a UDP datagram to a remote host.

System_CAPS_pubmethodSend(Byte[], Int32, IPEndPoint)

Sends a UDP datagram to the host at the specified remote endpoint.

System_CAPS_pubmethodSend(Byte[], Int32, String, Int32)

Sends a UDP datagram to a specified port on a specified remote host.

System_CAPS_pubmethodSendAsync(Byte[], Int32)

Sends a UDP datagram asynchronously to a remote host.

System_CAPS_pubmethodSendAsync(Byte[], Int32, IPEndPoint)

Sends a UDP datagram asynchronously to a remote host.

System_CAPS_pubmethodSendAsync(Byte[], Int32, String, Int32)

Sends a UDP datagram asynchronously to a remote host.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: