What is the preferred way of passing data between two applications on the same system?

前端 未结 6 1352
情书的邮戳
情书的邮戳 2020-12-05 06:07

I have an application (A) that needs to launch another application (B). I need to pass data between the applications. I can think of two approaches. The first is to open

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-05 06:26

    Its always good to explore alternative possible solutions, but I personally believe that using sockets as a transport layer for data between applications is not only future proof, but scalable as well. Using sockets will eliminate the need for you to write copious amounts of OS specific code, which could proclude you from porting your application in the future to non-Windows operating systems.

    I would suggest sockets.

提交回复
热议问题