On 2007-07-16, JamesHoward <[EMAIL PROTECTED]> 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)?
You could use a named pipe or a Unix domain socket. The nice thing about an IP socket is that you get network transparancy: the two programs can be moved to two different machines. -- Grant Edwards grante Yow! It's the RINSE CYCLE!! at They've ALL IGNORED the visi.com RINSE CYCLE!! -- http://mail.python.org/mailman/listinfo/python-list