摘要
远程过程调用RPC是构成分布式系统的有力工具,同时也是分布式系统中一种流行的进程迁移通信机制,它试图在进行会话的应用程序间建立一条逻辑信道,实现信息交换。分析远程过程调用的关键点,对基于TCP/IP协议的流套接字编程进行了分析,并举例说明如何应用流套接字来实现远程过程调用,最后对其优缺点进行了分析。
Remote procedure call (RPC) is a powerful tool for developing distributed system and a popular process communicating mechanism as well. With RPC, a logical channel can be built between the applied programmes which try to communicate with each other in order to fulfill information ex- change. This paper analyzes the principal sides of RPC and programming through stream socket based on TCP/IP. An example is given to illustrate how to achieve RPC by stream socket, At last, both the advantages and disadvantages of the model are explained in detail.
出处
《武汉科技大学学报》
CAS
2007年第1期68-70,共3页
Journal of Wuhan University of Science and Technology
基金
国家科技攻关资助项目(2005BA102C)