Various implementation of scoket programing