One way to handle requests from more than one client is to make the server program multi-threaded.
A multi-threaded server creates a thread for each communication it accepts from a client.
A thread is a sequence of instructions that run independently of the program and of any other threads.
thread