On Sun, 2005-02-27 at 17:18 -0600, dm wrote:
> Hello, I am trying to open a socket connection to a named file on my
> computer and can not seem to get it working. Any help or advice would
> be great.
solution
use what are called unix domain sockets,
in python they are accessed like this
<code>
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
s.connect('/tmp/xfmedia_remote.1001.0')
</code>
now s is a normal socket object.
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor