Open your command port on a network IP: cmds.commandPort(n="192.168.1.2:7000")
On Sat, Oct 13, 2012 at 1:37 PM, Justin Israel <justinisr...@gmail.com> wrote: > If you are writing a chat program, take Nick's advice and create your > own socket in a thread from within Maya. The Maya commandPort is only > really useful for directly calling the API, and from the local > machine. You probably want to have a custom listener socket open on > the network IP. > > > On Sat, Oct 13, 2012 at 1:28 PM, Ali Khanbabaei <ali.kh....@gmail.com> wrote: >> no i am not sure.but i just think it happened. >> i want write a simple chat program in maya and i need connect from >> network.how i can send message to client? >> On Saturday, October 13, 2012 11:39:40 PM UTC+3:30, Justin Israel wrote: >>> >>> Are you sure that exact code worked before? I could swear you need to >>> access it on a local ip address: >>> >>> HOST ="127.0.0.1" >>> >> -- >> view archives: http://groups.google.com/group/python_inside_maya >> change your subscription settings: >> http://groups.google.com/group/python_inside_maya/subscribe -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe