最近获得的《Java网络编程实例》一书的源代码,上次在CSDN看到一个相同的资源,结果一下载打开,机子就中毒了,强烈鄙视那种上传病毒的人!
2024-04-16 15:31:19 8.51MB Java网络编程实例源代码
1
java对接modbus RTU、TCP 网口串口都支持 的 工具jar
2024-04-10 16:08:11 536KB java 网络协议
1
android java 开发can通信demo 发送canid 标准帧 扩展帧 数据 进行接收和发送
2024-01-13 11:05:04 2.14MB android java 网络 网络
1
android java 开发can通信所用到的 candev,jar包 导入项目 可以进行can通信 canid 标准帧 扩展帧 数据 进行接收和发送
2024-01-13 10:04:41 2KB android java 网络 网络
1
☆ 资源说明:☆ [奥莱理] Java 网络编程 第4版 (英文版) [奥莱理] Java Network Programming 4th Edition (E-Book) ☆ 图书概要:☆ This practical guide provides a complete introduction to developing network programs with Java. You’ll learn how to use Java’s network class library to quickly and easily accomplish common networking tasks such as writing multithreaded servers, encrypting communications, broadcasting to the local network, and posting data to server-side programs. Author Elliotte Rusty Harold provides complete working programs to illustrate the methods and classes he describes. This thoroughly revised fourth edition covers REST, SPDY, asynchronous I/O, and many other recent technologies. Explore protocols that underlie the Internet, such as TCP/IP and UDP/IP Learn how Java’s core I/O API handles network input and output Discover how the InetAddress class helps Java programs interact with DNS Locate, identify, and download network resources with Java’s URI and URL classes Dive deep into the HTTP protocol, including REST, HTTP headers, and cookies Write servers and network clients, using Java’s low-level socket classes Manage many connections at the same time with the nonblocking I/O ☆ 出版信息:☆ [作者信息] Elliotte Rusty Harold [出版机构] 奥莱理 [出版日期] 2013年10月14日 [图书页数] 502页 [图书语言] 英语 [图书格式] PDF 格式
2023-12-23 07:02:11 7.05MB Java Network Programming
1
部分代码如下:client: /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package client; /** * * @author Administrator */ import java.awt.*; import java.io.*; import java.net.*; import java.applet.*; import java.util.Hashtable; public class ClientChat extends Applet implements Runnable { Socket socket=null; DataInputStream in=null; DataOutputStream out=null; InputNameTextField 用户提交昵称界面=null; ChatArea 用户聊天界面=null; Hashtable listTable; Label 提示条; Panel north, center; Thread thread; public void init() { int width=getSize().width; int height=getSize().height; listTable=new Hashtable(); setLayout(new BorderLayout()); 用户提交昵称界面=new InputNameTextField(listTable); int h=用户提交昵称界面.getSize().height; 用户聊天界面=new ChatArea("",listTable,width,height-(h+5)); 用户聊天界面.setVisible(false); 提示条=new Label("正在连接到服务器,请稍等...",Label.CENTER); 提示条.setForeground(Color.red); north=new Panel(new FlowLayout(FlowLayout.LEFT)); center=new Panel(); north.add(用户提交昵称界面); north.add(提示条); center.add(用户聊天界面); add(north,BorderLayout.NORTH); add(center,BorderLayout.CENTER); validate(); } public void start() { if(socket!=null&&in!=null&&out!=null) { try { socket.close(); in.close(); out.close(); 用户聊天界面.setVisible(false); } catch(Exception ee) { } } try { socket = new Socket(this.getCodeBase().getHost(), 6666); in=new DataInputStream(socket.getInputStream()); out=new DataOutputStream(socket.getOutputStream()); } catch (IOException ee) { 提示条.setText("连接失败"); } if(socket!=null) { InetAddress address=socket.getInetAddress(); 提示条.setText("连接:"+address+"成功"); 用户提交昵称界面.setSocketConnection(socket,in,out); north.validate(); } if(thread==null) { thread=new Thread(this); thread.start(); } } public void stop() { try { socket.close(); thread=null; } catch(IOException e) { this.showStatus(e.toString()); } } public void run() { while(thread!=null) { if(用户提交昵称界面.get能否聊天()==true) { 用户聊天界面.setVisible(true); 用户聊天界面.setName(用户提交昵称界面.getName()); 用户聊天界面.setSocketConnection(socket,in,out); 提示条.setText("祝聊天愉快!"); center.validate(); break; } try { Thread.sleep(100); } catch(Exception e) { } } } }
2023-12-22 16:11:03 48KB java 网络 聊天室(BS)
1
Java网络爬虫(蜘蛛)源码_zhizhu
2023-12-13 14:56:16 2.55MB
1
Java网络编程之TCP协议下—上传文件到服务器程序,欢迎大家下载和知道
1
[JAVA网络编程 (第3版)].哈诺德.扫描版.pdf [JAVA网络编程 (第3版)].哈诺德.扫描版.pdf
2023-06-23 22:25:44 63.34MB Java Web
1
一个用java语言编写的简单的网络聊天室,可以实现群聊,私聊,显示在线人数等等功能。
2023-05-19 00:09:39 38KB java 网络聊天室
1