摘要
Java最初是作为一种网络编程语言出现的,它能够使用网络上的各种资源和数据,与服务器建立各种传输通道,将自己的数据发送到网络各种地方.Java.net包为当前最常用的网络协议TCP和UDP提供了相应的类,使用户能够编写用这两种协议机制实现的通信程序.本文就提出了一种实现TCP服务器端程序的方法.
Java was originally appeared as a network programming language, it can use network resources and data, with the server to establish a variety of transmission channels, will send their own data to the network a variety of places, java. net package for the current most commonly used network protocols TCP and UDP to provide a corresponding class, allowing users to write the mechanism of these two protocols to achieve the communication program. This article presents a realization of TCP server-side programs Method.
出处
《内蒙古民族大学学报(自然科学版)》
2009年第6期638-639,共2页
Journal of Inner Mongolia Minzu University:Natural Sciences