首页 > 代码库 > communicate with other processes, regardless of where they are running
communicate with other processes, regardless of where they are running
Advanced Programming in the UNIX Environment Third Edition
In the previous chapter, we looked at pipes, FIFOs, message queues, semaphores, and shared memory
the classical methods of IPC provided by various UNIX systems.These mechanisms allow processes running
on the same computer to communicate with one another.In this chapter, we look at the mechanisms that
allow processes running on different computers (connected to a common network) to communicate with
one another network IPC.
In this chapter, we describe the socket network IPC interface, which can be used by processes to communicate
with other processes, regardless of where they are running — on the same machine or on different machines.
Indeed, this was one of the design goals of the socket interface. The same interfaces can be used for both
intermachine communication and intramachine communication. Although the socket interface can be used to
communicate using many different network protocols, we will restrict our discussion to the TCP/IP protocol suite
in this chapter,since it is the de facto standard for communicating over the Internet.
communicate with other processes, regardless of where they are running
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。