naught icon indicating copy to clipboard operation
naught copied to clipboard

How does an ipc-file work?

Open serapath opened this issue 8 years ago • 3 comments

Is there an example or some reading material? That sounds very interesting in general. Never heard about such a thing.

Would love if I could get or read some explanation or see some examples :-) Are there standards for this?

serapath avatar Feb 11 '17 14:02 serapath

It's just a socket as a file. Works the same as a network connection.

andrewrk avatar Feb 11 '17 18:02 andrewrk

https://en.wikipedia.org/wiki/Unix_domain_socket

andrewrk avatar Feb 11 '17 18:02 andrewrk

Oh, I didn't know about "socket as a file". Are there some cool resources that show how that works? Can multiple files pipe to the file which is .. i guess read? ... by the receiving process? Can I pipe from another node process to the file and from the terminal too? Is it slower or different than piping directly - for example - from a parent to a child process?

Do you maybe have some code examples? :-)

serapath avatar Feb 12 '17 13:02 serapath