1、不支持中文文件名;
2、查找地址比较慢
解决方法
1.中文问题是他的字符编码该为Encoding.Default
2.ep = new IPEndPoint(Dns.Resolve(ipAddress).AddressList[0], port);中要解释地址修改为Dns.GetHostEntry()方法就明显的快多了

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-12-02
  • 2021-06-28
  • 2022-12-23
  • 2021-09-05
  • 2021-05-20
猜你喜欢
  • 2022-01-20
  • 2021-11-20
  • 2022-12-23
  • 2021-09-19
  • 2022-01-11
  • 2022-01-23
  • 2021-09-09
相关资源
相似解决方案