>>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(); And those entry points seem to reentrant too !!!!!!! Thanks a lot, you made my day (I say that a lot on this mailing list :-)))))) Regards, Philippe