引入命名空间: using System.Net; using System.Net.Sockets; using System.Threading; 转载于:https://www.cnblogs.com/kubll/p/9026748.html