(Including the source code, after the test is successful, you can download it with confidence~
Simple JAVA chat program implementation code\SocketClientExample.java
Simple JAVA chat program implementation code\SocketServerExample.java
Simple JAVA chat program implementation code\Description.txt)