摘要:
MaxScript里开不了线程,但是可以用.Net的BackgroundWorker来做后台处理BackgroundWorkerFn BackgroundTcpListenerDoWork theSender theEvent = ( IPAddress = DotNetClass "System.Net.IPAddress" theIPAddress = IPAddress.Parse "127.0.0.1" theTcpListener = DotNetObject "System.Net.Sockets.TcpListener" 阅读全文