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 
     
     
     
  • 相关阅读:
    基于node.js 的 websocket的移动端H5直播开发
    c# 基于RTMP推流 PC+移动端 拉流播放
    Android Studio解决Error:moudle not specified
    能ping通域名,却不能上网
    转 Postman访问Webapi的Get/Post/Put/Delte请求
    Sqlite 参数化 模糊查询 解决方案
    autofac使用总结
    windows7 安装pytorch
    linux nginx 如何配置多个端口
    委托应用实例演变
  • 原文地址:https://www.cnblogs.com/rsapaper/p/6105824.html
Copyright © 2011-2022 走看看