add GetHostName and GetHostIPList function.