Two Pythons talking to each other?

Charles G Waldman cgw at fnal.gov
Thu Jul 8 12:00:09 EDT 1999


Per Kistler writes:
 > Hi Hans
 > 
 > One could use sockets with AF_INET, if it runs on another
 > machine, and sockets with AF_UNIX, if it's on the the same
 > host.

There's no particular reason to use AF_UNIX, even if the two processes
are running on the same node.  AF_INET with a loopback IP address
works fine, and is portable (not all platforms support unix-domain
sockets).




More information about the Python-list mailing list