1. how to write a c++ client- server architecture of socket programming
an iterative TCP server (called serv1) and the corresponding client
(called client). The server maintains a counter: each time a client connects to the server, the server increments its counter, and returns its value
to the client. The client prints the received value on the screen. A typical
client session should look like this:
$./client ethiotelecom.et
I received: 1
$./client ethiotelecom.et
I received: 2
$./client ethiotelecom.et
I received: 3
$./client ethiotelecom.et
I received: 4
$./client ethiotelecom.et
I received: 5