[Tutor] Question about socket connections

Rob Brown-Bayliss rob@zoism.org
17 Sep 2002 18:12:38 +1200


On Tue, 2002-09-17 at 16:55, Joel Ricker wrote:

I am in a similar position at the moment, my app has a main or control
app and a user running it and one or more clients.  

I have been experimenting with the socketserver module, and looked at
the threaded handler classes.  

I have the socket server running as a thread to get around the blocking
problem you mention, but lie you find the setup looks a bit to complex
or ugly in design (my setup, not the socket server module) and this
suggests my approach is wrong.

Another problem I think we both might face is thread safety, more than
one thread accessing a function.  What thoughts have you there?  

-- 

*
*  Rob Brown-Bayliss
*