HiMight be an overkill, but have a look at twisted, http://www.twistedmatrix.com
I usually use the spread package for structured communication between partners via localhost
What are the best practices to do this ? Examples in a well known Pyhon app I could hack ? Is it possible with standard packages only ?
Have fun, Werner -- http://mail.python.org/mailman/listinfo/python-list