通过Socket进行数据传输

笔记  Java 

SocketServer.javapackage com.meowrain.tcpserver;import java.io.IOException;import java.io.InputStream;import java.net.ServerSocket;import java.net.Soc

Java Socket建立连接

笔记  Java 

Server.javaimport java.io.IOException;import java.net.ServerSocket;import java.net.Socket;public class Server { public static void main(String[] ar