摘要
传统的Client-Server模式中Socket网络通信的客户端之间不能直接通信,不适应各主机需要直接通信的应用。改进后的Client-Server模式,实现了各主机直接的对等模式Socket网络通信,并采用先检测后连接的方式,解决了通信对方未开机时连接时间较长的问题。
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.
出处
《微处理机》
2008年第5期46-47,50,共3页
Microprocessors