代码: using System; using System.Net.WebSockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Demo { class Program { async static Task Main(string[] args) { var client = new ClientWebSocket(); client.ConnectAsync(n