System. getProperty ()-the software in your host suspends an established connection, system. getproperty
I cannot describe my mood at the moment ..
Originally, it was a completed netty5 demo program, and a tcp persistent connection was created between the server and the client .. then, just upload a simple demo of the data .. then I tried the tcp sticky Package example today and used the System. the tragedy of the getProperty () method has come into being .. after the program is modified, the server starts normally, and the client fails to get started, it automatically exits upon startup, improving the client exception capture, then we can occasionally report some exception information:
The software on your host suspends a established connection.
Some new software and plug-ins are installed today. If you uninstall them one by one, you still cannot start the clienet client. You still need to report this error. Check whether the anti-software program and firewall settings are normal.
This is strange. debug it and find that the connection is normal, create the message to be sent, and then wait for the message to be sent. I also wondered if the local running environment was broken. I quickly rolled back the code to the status before it was changed, and the code was executed normally .. by comparing the code, I just fell down...
System. getProperty ("line. separator") // System. getProperty ("line. seperator") // However, I wrote
This is an online game...
The reason is also quite understandable. When the jvm does not get the corresponding parameter, it directly reports an exception to the end program.
Another lesson is that the configuration parameters that are too low-level can be copied and never written. The mistake is really terrible ..