Good introduction to programming TCP sockets in Java?

I am looking for a good tutorial on programming TCP sockets in Java.

The emphasis is on Good here, often I find that when I look at this kind of guide, I get halfway before realizing that either the person who wrote the guide does not know what they are talking about or cannot express what they are saying know in a way that is the basis for the transfer of knowledge.

Or it’s 12 pages of β€œWhat are sockets”, and one page here is code that uses sockets.

Alternatively, if somone wants to write code snippets to send text through a TCP socket and wait for messages on a port that will also work.

+5
source share
1
+6

All Articles