Interesting, thanks for the tip, I'll give that a shot. I'm the first to admit I'm no socket expert ;)
On Feb 1, 9:41 am, Marc Downie <m...@openendedgroup.com> wrote: > > As an aside: While you can open a socket with both mel and Python... > > I've found that no matter what I do, if I open a socket with Python, > > the above solution won't work.. I have to open it with mel. > > Frustrating. > > Well, at least on the mac I can state that this doesn't happen. We open > sockets (port >1024) from Python all the time and they work like sockets. > Are you sure you are getting the threadding right for executing the incoming > python ? It seems to me that you have to use executeInMainThreadWithResult() > [1] in order to have a socket server actually run code that it recieves. > > Marc > > [1]http://download.autodesk.com/us/maya/2009help/index.html?url=Python_P... > -- http://groups.google.com/group/python_inside_maya