unix net programming and advanced envoriment programming exercise