System\Net\Sockets\UDPClient.cs (5)
283BeginSend(datagram, bytes, GetEndpoint(hostname, port), requestCallback, state);
543SendAsync(datagram, bytes, GetEndpoint(hostname, port));
565SendAsync(datagram, GetEndpoint(hostname, port), cancellationToken);
913public int Send(byte[] dgram, int bytes, string? hostname, int port) => Send(dgram, bytes, GetEndpoint(hostname, port));
931public int Send(ReadOnlySpan<byte> datagram, string? hostname, int port) => Send(datagram, GetEndpoint(hostname, port));