Socket Programming
java.net covers sockets, URLs, addresses. Socket = endpoint for TCP communication.
URL/URLConnection fetch remote resources.
Always handle IOException.
Write one tiny example for Socket Programming. Compile, print one result, and say the output out loud before you type.
Use Socket Programming only when the problem needs it. Don’t force it into every program. Know one beginner trap.
Let's take this on the board with one tiny Main class — no extra files. Socket Programming — prints local machine host name and IP — basic networking API. Start from main, go line by line, and stop at each print. That output is the proof for Socket Programming.
Client socket needs host + port.