Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SendAsync() [6/6]

ValueTask< int > System.Net.Sockets.UdpClient.SendAsync ( ReadOnlyMemory< byte > datagram,
string? hostname,
int port,
CancellationToken cancellationToken = default(CancellationToken) )
inline

Definition at line 444 of file UdpClient.cs.

445 {
446 return SendAsync(datagram, GetEndpoint(hostname, port), cancellationToken);
447 }
Task< int > SendAsync(byte[] datagram, int bytes)
Definition UdpClient.cs:429
IPEndPoint GetEndpoint(string hostname, int port)
Definition UdpClient.cs:273

References System.cancellationToken, System.Net.Sockets.UdpClient.GetEndpoint(), and System.Net.Sockets.UdpClient.SendAsync().