Contribute to apachecn/mkyong-blog-zh development by creating an account on GitHub.
This article was originally posted on my blog. You should also read my Java 11 Tutorial (including new language and API features from Java 9, 10 and 11).
This tutorial is an introduction to socket programming in Java, starting with a simple client-server example demonstrating the basic features of Java I/O. You’ll be introduced to both the original ...