JamesHoward wrote: > I am looking for a way of performing inter process communication over > XML between a python program and something else creating XML data. > > What is the best way of performing this communication? I could bind a > socket to localhost and perform the data transfer that way, but that > seems inefficient due to the addition of TCP/IP or UDP/IP overhead. > Is there a way to stream data via a custom datastream (I.E. not STDIO, > STDERR, etc)? > Nothing that portable across different platforms, I suspect.
However I see no reason why you can't use pipelines in Unix (in other words what's wrong with using stdin/stdout?), and Windows offers something called a named pipe. You could even use shared memory if you wanted. Given the radically inefficient representations that XML typically requires, however, I think that worrying about localhost socket overhead is unnecessary: if your application was *that* critical you wouldn't be using XML in the first place. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden --------------- Asciimercial ------------------ Get on the web: Blog, lens and tag the Internet Many services currently offer free registration ----------- Thank You for Reading ------------- -- http://mail.python.org/mailman/listinfo/python-list