UdpClient
UdpClient()
UdpClient(AddressFamily)
UdpClient(Int32)
UdpClient(IPEndPoint)
UdpClient(Int32, AddressFamily)
UdpClient(String, Int32)
~UdpClient()
Active
Available
Client
DontFragment
EnableBroadcast
ExclusiveAddressUse
MulticastLoopback
Ttl
AllowNatTraversal(Boolean)
BeginReceive(AsyncCallback, Object)
BeginSend(Byte[], Int32, AsyncCallback, Object)
BeginSend(Byte[], Int32, IPEndPoint, AsyncCallback, Object)
BeginSend(Byte[], Int32, String, Int32, AsyncCallback, Object)
Close()
Connect(IPEndPoint)
Connect(IPAddress, Int32)
Connect(String, Int32)
Dispose()
Dispose(Boolean)
DropMulticastGroup(IPAddress)
DropMulticastGroup(IPAddress, Int32)
EndReceive(IAsyncResult, IPEndPoint)
EndSend(IAsyncResult)
JoinMulticastGroup(IPAddress)
JoinMulticastGroup(Int32, IPAddress)
JoinMulticastGroup(IPAddress, Int32)
JoinMulticastGroup(IPAddress, IPAddress)
Receive(IPEndPoint)
ReceiveAsync()
ReceiveAsync(CancellationToken)
Send(Byte[], Int32)
Send(Byte[], Int32, IPEndPoint)
Send(Byte[], Int32, String, Int32)
Send(ReadOnlySpan<Byte>)
Send(ReadOnlySpan<Byte>, IPEndPoint)
Send(ReadOnlySpan<Byte>, String, Int32)
SendAsync(Byte[], Int32)
SendAsync(Byte[], Int32, IPEndPoint)
SendAsync(Byte[], Int32, String, Int32)
SendAsync(ReadOnlyMemory<Byte>, CancellationToken)
SendAsync(ReadOnlyMemory<Byte>, IPEndPoint, CancellationToken)
SendAsync(ReadOnlyMemory<Byte>, String, Int32, CancellationToken)
net9.0
namespace System.Net.Sockets
{
public class UdpClient : IDisposable
{
public Task<int>! SendAsync(byte[]! datagram, int bytes);
}
}
NetFx Compat Lab | 0.3 %
Reference this API |
---|---|
nuget.org | 0.0 %
Reference this API |
Upgrade Planner | 0.0 %
Reference this API |
.NET | 5.06.07.08.09.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net9.0 | |
Assembly | System.Net.Sockets , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is supported on any platform except for these:
|
- Built-in API
- Package-provided API