Implementation of a simple multithreaded server and of clients of a messagint system