文件名称:UDPTCP
介绍说明--下载内容均来自于网络,请自行研究使用
该程序充分利用了JAVA的多线程,完成写文件和刷新界面,在不同的线程间还有调用关系,因为考虑到网络数据的不稳定性,即有时数据量比较小,有时数据包很多,如果一个线程就会出现在数据量高峰时严重掉包(编程初期的时候,已试过)。所以引入多线程,这样在数据包不多的时候,能够使得数据包多的时候没有完成保存工作的线程能够继续完成保存工作。-The program makes full use of the multi-threaded JAVA, write documents and complete the refresh interface between the different threads are called, because, taking into account the uncertainty of network data, that is sometimes smaller than the data, and sometimes a lot of packets , if a thread will appear in a serious amount of data掉包peak (when the initial programming has been tried). Therefore, the introduction of multi-threaded, so little time packet, the packet can be made when more complete preservation of the thread to continue the preservation work completed.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
UDPTCP消息正文的监视.doc