资 源 简 介
多线程通信 程序说明 Ⅰ、设计项目: 简单的聊天程序 Ⅱ、设计人: 刘亚焱 Ⅲ、设计时间: 2003.5.6 Ⅳ、设计步骤: 1)需求分析: 用java实现底层网络通信,我用的是 TCP/IP协议里的套接字(Socket)编程接口来实现网络通讯。 2)设计部分: socket是一种流式通信机制,是一种基于连接的通信,即,在通信之前通信双方确认身份并建立一条 专用的虚拟连接通道,然后他们通过这条通道传送数据信息进行通信,当通信结束时再将原来所建的连 接拆除。-multithreaded communications description of the procedures, design projects : a simple chat program II, designer : Liu Yan III, the design time : 2003.5.6 IV, the design steps : 1) Demand Analysis : java achieve underlying network communication, I use the TCP/The IP socket (Socket) programming interfaces to network communications. 2) Design : socket is a streaming communication mechanism is based on a link of communication, namely, the communication before the two sides identified telecommunications and the establishment of a dedicated virtual link, and then they pass this information channel for transmission of data communications, when the communication ended when it originally construction of the link removed.