Asynchronous Client/Server Socket dll cause 3ds max not responding(Freezing)

Asynchronous Client/Server Socket dll cause 3ds max not responding(Freezing)

562794142
Advocate Advocate
622 Views
1 Reply
Message 1 of 2

Asynchronous Client/Server Socket dll cause 3ds max not responding(Freezing)

562794142
Advocate
Advocate

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:

Server:
https://docs.microsoft.com/en-us/dotnet/framework/network-programming/asynchronous-server-socket-exa...

Client:
https://docs.microsoft.com/en-us/dotnet/framework/network-programming/asynchronous-client-socket-exa...

0 Likes
623 Views
1 Reply
Reply (1)
Message 2 of 2

562794142
Advocate
Advocate

The Server/Client dll files

0 Likes