Building Java Client/Server Applications with TCP. Part 4

Luxoft Training
1 min readMar 19, 2020

The greeting client-server program

We’ll also present a greeting program, that emulates a communication protocol between a client and a server.

The server will start on a given port and wait for the connection of a client. It will read the greeting of the client and answer to it. This is how the server code looks like:

Read more at — http://bit.ly/2Unk8yc

Originally published at https://www.luxoft-training.com.

--

--