找回密码
 立即注册
Mysocketclassbin线程 | Applet 2022-10-05 46 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
1.socket通信:有客户端和服务端的socket代码。2.多线程:客户端和服务端各用一线程发送信息;服务端还有一监听线程,关于把超时的信息删去。?这儿使用到了同步,使两个线程可以操作同一个map。
Mysocket\.settings\org.eclipse.jdt.core.prefs
Mysocket\bin\mysocket\ClientNet.class
Mysocket\bin\mysocket\ClientOutNet.class
Mysocket\bin\mysocket\ServerHelper.class
Mysocket\bin\mysocket\ServerNet.class
Mysocket\bin\mysocket\ServerOutNet.class
Mysocket\bin\mysocket\ServerTimeListener.class
Mysocket\src\mysocket\ClientNet.java
Mysocket\src\mysocket\ServerHelper.java
Mysocket\src\mysocket\ServerNet.java
Mysocket\.classpath
Mysocket\.project
.....

(1. Socket communication: there are socket codes of client and server. 2. Multi thread: the client and server use one thread to send information; The server also has a listener thread to delete the timeout information.? Synchronization is used here, so that two threads can operate on the same map.
Mysocket\.settings\org.eclipse.jdt.core.prefs
Mysocket\bin\mysocket\ClientNet.class
Mysocket\bin\mysocket\ClientOutNet.class
Mysocket\bin\mysocket\ServerHelper.class
Mysocket\bin\mysocket\ServerNet.class
Mysocket\bin\mysocket\ServerOutNet.class
Mysocket\bin\mysocket\ServerTimeListener.class
Mysocket\src\mysocket\ClientNet.java
Mysocket\src\mysocket\ServerHelper.java
Mysocket\src\mysocket\ServerNet.java
Mysocket\.classpath
Mysocket\.project
.....)

[下载]09144327015.rar




上一篇:Java项目设计与开发范例
下一篇:Java经典入门教程