varlink / libvarlink

C implementation of the Varlink protocol and command line tool
Apache License 2.0
111 stars 15 forks source link

Named PIPES as a backend #9

Closed bl33pbl0p closed 6 years ago

bl33pbl0p commented 6 years ago

Would it be possible to add named pipes/FIFOs as a transport for varlink (the ideals say any connection oriented transport can possibly work).

kaysievers commented 6 years ago

Varlink is a streaming protocol, and also has a strict message order. How would the service listening on a pipe deal with interleaving fragments of messages from multiple clients/connections?

bl33pbl0p commented 6 years ago

Hmm, maybe a different pipe for each connection? It does seem difficult, maybe this is not worth it, in that case, feel free to close the issue.