应该可以重新实例化。你确定在每次发送信息之后执行关闭NetWorkStream了吗?========ns.Close();========你没有给出完整的代码,我没法调试。这里给你一段MSDN的代码========TcpClient tcpClient = new TcpClient ();// Uses the GetStream public method to return the NetworkStream.NetworkStream netStream = tcpClient.GetStream ();if (netStream.CanWrite){
Byte[] sendBytes ...