赵 伟, 刘益和. 一个局域网聊天软件的实现[J]. 内江师范学院学报, 2013, (4): 16-19.
    引用本文: 赵 伟, 刘益和. 一个局域网聊天软件的实现[J]. 内江师范学院学报, 2013, (4): 16-19.
    ZHAO Wei, LIU Yi he. A LAN Chat Software Implementation[J]. Journal of Neijiang Normal University, 2013, (4): 16-19.
    Citation: ZHAO Wei, LIU Yi he. A LAN Chat Software Implementation[J]. Journal of Neijiang Normal University, 2013, (4): 16-19.

    一个局域网聊天软件的实现

    A LAN Chat Software Implementation

    • 摘要: 利用VC++6-0和UDP协议,使用资源消耗少,使用方便灵活的对等模式,设计出了一个局域网聊天软件.该软件在通信过程中,用户的地位是平等的.软件的聊天通信部分采用基于异步套接字SOCKET编程,极大地减少了对系统资源的消耗,提高通信效率.软件的文件传输部分采用多线程编程,适合于数据量大的环境.同时,软件实现了有关“好友”的多种功能.经过实验证明:软件具有较好的实用性.

       

      Abstract: a LAN chat software, with less resource consumption and easy to use and flexible, is designed by use of peer-to-peer mode and VC + +6.0 and UDP protocol. In the software communication process, the status of the user is equal. The chat communication portion of the software based on asynchronous socket SOCKET programming, greatly reduces the consumption of system resources, and improves communication efficiency. The file transfer part of the software uses multi-threaded programming, and is suitable for a large amount of data. At the same time, the software achieves a variety of functions related to “Friends”. The experiments show that: the software is of great practical use.

       

    /

    返回文章
    返回