sockets programming example in linux