java和C#之间SOCKET通信的问题 一、服务器端(使用java编写) /** * 监听客户端的请求 * */ private static void socketService() { ExecutorService exec = Executors.newCachedThreadPool(); try { ServerSocket server=new ServerSocket(5678); int i = 1; while(true) { MyLogManager.InfoLog(log, null,"等待连接第"+i+"个用户..."); try