[LAD] pipes or network?

Arnold Krille arnold at arnoldarts.de
Thu May 17 18:50:28 UTC 2007


Am Donnerstag, 17. Mai 2007 schrieb Malte Steiner:
> I wonder what is the best way to connect applications on the same
> computer. Usually I use network and localhost plus custom protocols or
> OSC to let them communicate but wonder if pipes are more efficient. The
> data to be exchanged is usually control rate, not audio nor video streams.
> So what are the pros and cons of pipes versus network?

While pipes are faster (which is not interesting for control data only) 
osc+network makes it extendable. Maybe in the future one part of your app 
will run on a different host. If you started with pipes you have to program a 
whole new communication. With osc and network you just allow other addresses 
than localhost...

Arnold
-- 
visit http://www.arnoldarts.de/
---
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a rm / -rf. Or ask your 
administrator to do so...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20070517/fb6e2eb6/attachment.pgp>


More information about the Linux-audio-dev mailing list