Simple Client Server model to understand multi process and multi thread programming