摘要
为了方便局域网内用户的通讯,需要一个在局域网内部实现信息交互的软件。系统采用点到点的通讯方式(即服务器、客户端一体),包含用户一对一聊天和局域网内广播两种交流方式;应用多线程技术实现文件的收发,在线程中进行文件的读写,防止文件在收发过程中大量占用主线程资源,通过消息机制更新主线程中窗口的信息显示。
In order to facilitate users within the LAN communication, a realization of information interaction in the internal LAN software is needed, the system designed in this paper uses the point-to-point communication mode (i.e., server, client list interface development), including two ways -- users one-one chat and a LAN radio; file sending and receiving application of muhithreading, documents reading and writing on the line, preventing the file in the mail occupying the main thread resources, updateing window in the main thread through the message mechanism of information display.
出处
《贺州学院学报》
2013年第4期142-146,共5页
Journal of Hezhou University
基金
贺州学院教改项目(hzxyjg1008
hzxyjg1029)