an easy example of Socket-Oriented-Programming