Message 1 of 2
Asynchronous Client/Server Socket dll cause 3ds max not responding(Freezing)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to use an Asynchronous Client/Server Socket dll file to communicate each other,the code is from microsoft official site example,what I wonder is that when I load the dll and use it,it caused 3ds max not responding(maybe I guess 3ds max is listening,but totally freeze),my question is how can I let the code work without freezing?
The code I was tried:(The dll files I have already built)
Server code:
DotNet.LoadAssembly "C:\\Server.dll" (DotNetClass "Asynchronous_Server.AsynchronousSocketListener").Main StartListening
Client code:
DotNet.LoadAssembly "C:\\Client.dll" (DotNetClass "Asynchronous_Client.AsynchronousClient").Main StartClient
Source c# code: