Named pipes in threads

Jive someone at
Sun Dec 12 18:34:45 CET 2004

"Philippe C. Martin" <philippecmartin at> wrote in message
news:mailman.7551.1102870873.5135.python-list at
> HI,
> I currently have a "working" script that uses sockets to handle threads
> communications - the problem is that it gives me obvious problems in
> free ports (launching the script more than once ....).
> Is thread named pipes communication allowed ?
> Regards,

Replace the sockets with a queue of strings.

Write your Send and Recv functions in terms of Queue.get() and Queue.put();
> Philippe

More information about the Python-list mailing list