Ok, with all of the above qualifications, here's the problem: I wrote the
following script, but it doesn't permit a client to connect. Would anyone
be so kind to point me in the correct direction?
I'm pretty sure that what you need to do here is have your server run in a separate thread and send the SOCK_CONNECT events to the Gui running in the main thread.
To get some pointers on how to make this work, check either the Threads.py demo (distributed with wxPython) or http://www.mindspring.com/~greglandrum/python/rpcMixin.py, which is somewhat more involved but it shows how to graft an xmlrpc server onto a wxPython app.
I hope this helps,
-greg
ยทยทยท
----
greg Landrum (greglandrum@earthlink.net)
Software Carpenter/Computational Chemist