> Now that may not be perfect, since I'm not familiar with the TCPServer() > call. I've sort of assumed it does something quickly and returns, or > raises an exception if the input is bad. If it doesn't actually return > if it starts successfully, you would need a little different approach. > Probably adding a simple timeout to the self.startEvent.wait() call > would work.
It's perfect! Thank you very much. After the .start() call in the main thread, it just waits until was a succesfull thread start. It's just perfect. One more thing, I would like to catch the description string of the error, so I can show it to the user in a Message Box. How can I do that in the main threa, once that I allready catched the exception? Thank you so much -- http://mail.python.org/mailman/listinfo/python-list