期刊文献+

Linux环境下基于TCP的Socket编程浅析 被引量:17

Analysis of Socket Programming TCP-based on Linux
下载PDF
导出
摘要 Socket适用于同一台计算机上的进程间通信,同时也适用于网络环境中的进程间通信。他已成为当前许多操作系统的网络API,也是网络操作系统中必不可少的基础功能。因特网为网络中的应用提供了2种类型的服务:由TCP协议提供的面向连接服务和由UDP协议提供的无连接服务。随着Linux操作系统的不断推广,Linux环境下的Socket开发和研究一直是人们关注的热点。文章介绍了Linux平台下的Socket及其在TCP协议下的编程原理,并通过一个用Java编写的基于TCP的客户/服务器程序,描述了网络中不同主机上的两个进程之间的Socket通信机制。 Socket is suitable for communication between two processes not only from one computer but also from network. Now Socket is an available network-API of many OS, at the same time, it is one necessary part of network-OS. Internet provides connection-oriented service (TCP-based) and connectionless service (UDP-based). Socket development and studying on Linux are always concerned while Linux is innovated on and on. The paper introduces the Socket and it's programming principle based on TCP in Linux environment. By using a TCP-based client/server program which is edited in Java, it describes Socket communication mechanism between the two processes from the different computers in the network.
作者 吴佩贤
出处 《现代电子技术》 2005年第16期53-55,59,共4页 Modern Electronics Technique
关键词 SOCKET TCP/IP 客户机/服务器 进程 JAVA 操作系统 Socket TCP/IP client/server process Java
  • 相关文献

参考文献3

  • 1张威.Linux网络编程教程[M].北京:北京希望电子出版社,2002..
  • 2毛德操 胡希明.Linux内核源代码情景分析(下)[M].杭州:浙江大学出版社,2001..
  • 3DouglasComer DavidLStevens.TCP/IP网络互联技术(卷3):客户—服务器编程与应用[M].北京:清华大学出版社,2004..

共引文献16

同被引文献97

引证文献17

二级引证文献82

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部