find my host name in remote machine code example Example: get hostname socket.gethostbyname(socket.gethostname())