Socket handle transfer between independent processes

前端 未结 3 1198
谎友^
谎友^ 2021-02-06 11:01

I am doing some experiments in socket programming(in unix environment). What I am trying is

  1. Client sends request to Server.
  2. Server should send the clients
3条回答
  •  花落未央
    2021-02-06 11:16

    According to this post it should be possible. You need some way (pipes or sockets come to mind) to let your worker process know the sockets handle.

    Unfortunately, I am not experienced with unix programming, so I cannot give you more concrete info.

提交回复
热议问题