On 07/03/07, Gilad Ben-Yossef <[EMAIL PROTECTED]> wrote:
Constantine Shulyupin wrote: > Suggest me please, what better to use for local IPC, socket or pipe? > What are pro and cons? > When and what is preferable to use? > The first difference is sockets are two directional and support > client/server model. What more? Pipes are more efficient, but only applies to 1:1 communication (father to child and similar).
Use pipes if you have an 1:1 situatuin, Unix doman sockets otherwise. What about named-pipes? Do they use the same mechanism as pipe(2) objects or as unix-domain sockets? --Amos