Relative Content

Tag Archive for cwhile-looptcpnetwork-programmingtcpserver

TCP server in C and `while(1)` to keep listening

I would like to create a simple example TCP server in C. It should be able to receive multiple client connections and to send a string to each of them separately, before closing the connection.