Ajay wrote: > how can i stop a server socket running in a thread other than the main > thread? if the server socket was a local variable of the function started > by the child thread, would calling join work? Short answer: you can't, and join won't help. Use select on sockets, with a timeout, or use twisted. -- Regards, Diez B. Roggisch