public async Task SendAsync(IPEndPoint endPoint, LowLevelPacket packet) { byte[] buf = packet.Encode(); await _client.SendAsync(buf, buf.Length, endPoint); }
public void Send(IPEndPoint endPoint, LowLevelPacket packet) { byte[] buf = packet.Encode(); _client.Send(buf, buf.Length, endPoint); }