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

Replace the sockets with a queue of strings.
http://docs.python.org/lib/module-Queue.html

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


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to