首页 | 本学科首页   官方微博 | 高级检索  
     

基于对等模式的Socket网络通信
引用本文:刘松,钟子发.基于对等模式的Socket网络通信[J].微处理机,2008,29(5).
作者姓名:刘松  钟子发
作者单位:解放军电子工程学院,合肥,230037
摘    要:传统的Client-Server模式中Socket网络通信的客户端之间不能直接通信,不适应各主机需要直接通信的应用。改进后的Client-Server模式,实现了各主机直接的对等模式Socket网络通信,并采用先检测后连接的方式,解决了通信对方未开机时连接时间较长的问题。

关 键 词:套接字  对等模式  网络通信  微软VC  6.0

The Network Communication of Socket Based on Peer-to-Peer Model
LIU Song,ZHONG Zi-fa.The Network Communication of Socket Based on Peer-to-Peer Model[J].Microprocessors,2008,29(5).
Authors:LIU Song  ZHONG Zi-fa
Abstract:In the conventional Net communication of Socket with Client-Server model,a Client is inadaptable to directly communicate with others,this paper proposed a method to improve the Client-Server model and realize the Peer-to-Peer model of Socket Communication.By the mean that detect before link,the problem which a host computer takes a long time to link the closed computer is solved.
Keywords:Socket  Peer-to-Peer model  Net communication  Microsoft VC  6  0
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号