服务端代码 public static void Main(string[] args) { //客户端 Socket tcpServer = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); //设置ip地址 IPAddress ipAddress = new IPAddress(new byte[] { 169, 254, 172, 64 <