Home > Back-end >  Java references to DLLS, local address 127.0.0.1 takes up problems
Java references to DLLS, local address 127.0.0.1 takes up problems

Time:11-30

I made two c + + DLL (control end and accused end), the two DLL through 127.0.0.1: port of the socket TCP local inter-process communication, and then the DLL using the control terminal interface in Java programs, and Java can also be indirect and accused of the DLL in the process of communication, but found that the Java virtual machine link this DLL will not open TCP service control end, only the virtual machine immediately disconnect the moment control end of the open service, but have to quit the program at this time, no sense, want to ask in the Java virtual machine takes up the local loopback address, we won't be able to use this application layer program address? If you can how to run it?

CodePudding user response:

Your server should be separated from Java app, independent deployment, want to start a Java application services are many problems need to solve
  • Related