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 ValueTask<int> SendAsync(ReadOnlyMemory<byte> datagram, IPEndPoint? endPoint, CancellationToken cancellationToken = default);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
Design Reviews |
|
.NET | 6.07.08.09.0 |
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