基于Java语言Socket通信的实现方法  被引量:3

Implementation Method of Socket Communication Based on Java Language

在线阅读下载全文

作  者:闵小玲[1] 

机构地区:[1]黄石高等专科学校,湖北黄石435003

出  处:《黄石高等专科学校学报》2004年第4期46-48,共3页Journal of Huangshi Polytechnic College

摘  要:Scoket通信属于网络底层通信 ,它是网络编程中最常用的概念和工具。在TCP/IP网络中 ,由于使用Scoket,能够在网络中处理复杂数据 ,所以在各种网络应用程序中 ,涉及到数据传送和接收 ,一般都会使用Scoket。本文介绍将Java中的Socket类和ServerSocket类分别用于客户端和服务器端 ,在任意两台机器间建立连接 ,实现点到点的通信的Java程序实现方法。Socket communication belongs to network bottom layer communication.It always uses view and tool in network communication.In TCP/IP network,using Socket is able to copy with complex data, so it is often used in all kinds of network programming. This paper introduces the class Socket and ServerSocket of the Java, which use in Client and Server so as to build connection between two PC and implementation programming method that point to point communicate.

关 键 词:Scoket JAVA语言 网络通信 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象