找回密码
 立即注册
200500824115classesbuildclass | 微信小程序 2022-09-26 100 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
官方Java开发工程师QQ群(27163376),验证请输入您的ID。?首要是满意点对点的局域网聊天者,简单方便,无需服务器端,无需验证功能,可以看见一切在线者(用扫描实现)。总归,比较简单,首要程序在扫描这一块。??开发环境为NetBean6.0。言语为JAVA;?设计两个窗口类,一个关于扫描和列出在线聊天者,一个关于发送消息。扫描采纳多线程,并且用户可以控制线程数量。程序运行时打开8000端口,采纳TCP,进行监听,谈地利采纳UDP协议,端口为3000。以消息的丢失不做管理,由于在局域网内丢包的概率很小。用户可以自己输入IP段进行扫描,由于是基于局域网的,所以我们假定输入的IP是C类的,因而只有最终8位不一样。我们在管理IP的时候是依照这约好来的。所以最大线程数为256。??还有一些其它类的设计,有对IP进行管理的IP类,有线程类,服务端口打开类,UDP端口监听类等。
200500824115\build\classes\200500824115.exe
200500824115\build\classes\Chat.class
200500824115\build\classes\ChatJFrame$1.class
200500824115\build\classes\ChatJFrame.class
200500824115\build\classes\ChatMainJFrame$1.class
200500824115\build\classes\ChatMainJFrame$2.class
200500824115\build\classes\ChatMainJFrame$3.class
200500824115\build\classes\ChatMainJFrame$4.class
200500824115\build\classes\ChatMainJFrame.class
200500824115\build\classes\classes.zip
200500824115\build\classes\Ip.class
200500824115\build\classes\Scan.class
200500824115\build\classes\ScanOne.class
200500824115\build\classes\Server.class
200500824115\build\classes\StopJDialog$1.class
200500824115\build\classes\StopJDialog.class
200500824115\dist\lib\beansbinding-1.2.1.jar
200500824115\dist\200500824115.exe
200500824115\dist\200500824115.jar
200500824115\dist\README.TXT
200500824115\nbproject\private\private.properties
200500824115\nbproject\private\private.xml
200500824115\nbproject\build-impl.xml
200500824115\nbproject\genfiles.properties
200500824115\nbproject\project.properties
200500824115\nbproject\project.xml
200500824115\src\ChatJFrame.form
200500824115\src\ChatJFrame.java
200500824115\src\ChatMainJFrame.form
200500824115\src\ChatMainJFrame.java
.....太多文件了略.....

(Official Java development engineer QQ group (27163376), please enter your ID for verification. ?The first thing is to satisfy the peer-to-peer LAN chatter, which is simple and convenient, without the server side, without the verification function, and can see all the online users (implemented by scanning). In short, it is relatively simple, and the first program is to scan this piece. ?? The development environment is NetBean6.0. The language is JAVA;? Design two window classes, one on scanning and listing online chatters, and one on sending messages. Scanning adopts multi-threading, and the user can control the number of threads. When the program is running, open port 8000, use TCP to monitor, and use UDP protocol to talk about geography, and the port is 3000. The loss of messages is not managed, because the probability of packet loss in the local area network is very small. The user can input the IP segment for scanning. Since it is based on the local area network, we assume that the input IP is of class C, so only the final 8 bits are different. We follow this agreement when we manage IP. So the maximum number of threads is 256. ?? There are some other types of design, there are IP classes for IP management, thread classes, service port opening classes, UDP port monitoring classes, etc.
200500824115\build\classes\200500824115.exe
200500824115\build\classes\Chat.class
200500824115\build\classes\ChatJFrame$1.class
200500824115\build\classes\ChatJFrame.class
200500824115\build\classes\ChatMainJFrame$1.class
200500824115\build\classes\ChatMainJFrame$2.class
200500824115\build\classes\ChatMainJFrame$3.class
200500824115\build\classes\ChatMainJFrame$4.class
200500824115\build\classes\ChatMainJFrame.class
200500824115\build\classes\classes.zip
200500824115\build\classes\Ip.class
200500824115\build\classes\Scan.class
200500824115\build\classes\ScanOne.class
200500824115\build\classes\Server.class
200500824115\build\classes\StopJDialog$1.class
200500824115\build\classes\StopJDialog.class
200500824115\dist\lib\beansbinding-1.2.1.jar
200500824115\dist\200500824115.exe
200500824115\dist\200500824115.jar
200500824115\dist\README.TXT
200500824115\nbproject\private\private.properties
200500824115\nbproject\private\private.xml
200500824115\nbproject\build-impl.xml
200500824115\nbproject\genfiles.properties
200500824115\nbproject\project.properties
200500824115\nbproject\project.xml
200500824115\src\ChatJFrame.form
200500824115\src\ChatJFrame.java
200500824115\src\ChatMainJFrame.form
200500824115\src\ChatMainJFrame.java
.....too many files .....)

[下载]10060500402.rar




上一篇:C语言高级实用编程技巧
下一篇:eclipse快捷键(超全)