zoukankan      html  css  js  c++  java
  • 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.
     
    https://docs.oracle.com/javase/tutorial/essential/concurrency/procthread.html
    Processes are often seen as synonymous with programs or applications. However, what the user sees as a single application may in fact be a set of cooperating processes. To facilitate communication between processes, most operating systems support Inter Process Communication (IPC) resources, such as pipes and sockets. IPC is used not just for communication between processes on the same system, but processes on different systems.
     
    IPC 在本机 或不同机器间 ,通过pipes sockets 
     
     
     
  • 相关阅读:
    编写 iPhone Friendly 的 Web 应用程序
    WebService的安全性讨论【身份识别】
    使用InstallShield系统变量的缺省值
    数据库用户操作相关
    TFS2010安装
    微软实验虚拟机下载地址
    生成18位不重复的ID
    Linux 账户 帐户管理 文件权限 权限管理
    Chrome 插件开发
    Ubuntu 环境变量 设置
  • 原文地址:https://www.cnblogs.com/rsapaper/p/6105824.html
Copyright © 2011-2022 走看看