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

基于TCP的Java网络通信研究
引用本文:牛小梅,宋喜忠.基于TCP的Java网络通信研究[J].天中学刊,2011,26(5):30-32.
作者姓名:牛小梅  宋喜忠
作者单位:黄淮学院信息工程学院,河南驻马店,463000
摘    要:Java中的网络通信都是通过Socket完成的.主要阐述了Socket的通信机制、编程的步骤和方法,利用Socket套接字在客户端与服务器之间建立一个双向的通信连接,实现了一个网络通信——聊天系统.通过所建立的聊天系统,客户可轻易地同服务器进行网络通信,也可通过服务器同其他客户进行通信.

关 键 词:Socket  多线程  通信机制  TCP

The Network Communication in Java Based on TCP
NIU Xiao-mei.The Network Communication in Java Based on TCP[J].Journal of Tianzhong,2011,26(5):30-32.
Authors:NIU Xiao-mei
Institution:NIU Xiao-mei(Huanghuai University,Zhumadian Henan 463000,China)
Abstract:The network communication in Java is completed by the Socket's.The Socket communicative mechanism,programming steps and methods are displayed in this paper.A two-way communication is established between the client and the server through Socket——chat system,data can be exchanged through the system.Customers can easily communicate with the server network or to other customers in this system.
Keywords:Socket  Multithreading  communicative mechanism  TCP
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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