UdpClient Members
The following tables list the members exposed by the UdpClient type.
Public Constructors
| Name | Description | |
|---|---|---|
![]() |
UdpClient | Overloaded. Creates a new instance of the UdpClient class. |
Public Properties
| Name | Description | |
|---|---|---|
![]() |
Available | Gets the amount of data received from the network that is available to read. |
![]() |
Client | Gets or sets the underlying network socket. |
![]() |
DontFragment | Gets or sets a Boolean value that specifies whether the UdpClient object allows Internet Protocol (IP) datagrams to be fragmented. |
![]() |
EnableBroadcast | Gets or sets a Boolean value that specifies whether the UdpClient may send or receive broadcast packets. |
![]() |
ExclusiveAddressUse | Gets or sets a Boolean value that specifies whether the UdpClient object allows only one client to use a port. |
![]() |
MulticastLoopback | Gets or sets a boolean value that specifies whether outgoing multicast packets are delivered to the sending application. |
Protected Properties
| Name | Description | |
|---|---|---|
![]() |
Active | Gets or sets a value indicating whether a default remote host has been established. |
Public Methods
| Name | Description | |
|---|---|---|
![]() |
Close | Closes the UDP connection. |
![]() |
Connect | Overloaded. Establishes a default remote host. |
![]() |
Dispose | Overloaded. Releases the unmanaged resources used by the UdpClient object. |
![]() |
DropMulticastGroup | Leaves a multicast group. |
![]() |
JoinMulticastGroup | Overloaded. Adds the UdpClient object to a multicast group. |
![]() |
Receive | Returns a UDP datagram that was sent by a remote host. |
![]() |
Send | Overloaded. Sends a UDP datagram to a remote host. |
.gif)
.gif)
.gif)