Java
-
Java-UDP协议
//接收端 public class ReceiveDemo { public static void main(String[] args) throws Exception { //创建接收对象 DatagramSocket receiver = new Dat……0 -
Java-TCP协议
//服务端 public class Server { public static void main(String[] args) throws Exception { // 创建服务端并制定端口 ServerSocket server = new ……0 -
-
Java-application/x-www-form-urlencoded MIME编码
URLEncoder和URLDecoder用于完成普通字符串和application/x-www-form-urlencoded MIME字符串之间的相互转换. ----------------------------------------------……0