[Tutor] Question about socket connections

Ashish Shrestha lists@shrestha.net.np
Tue, 17 Sep 2002 22:55:14 +0545


why don't you check out xmlrpc at http://www.xmlrpc.com

get a python implementation from http://www.pythonware.com

ashish

Rob Brown-Bayliss wrote:
> 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?  
>