Replace the way to get local IP address by using gethostname() and gethostbyname().
Merge branch 'master' of https://github.com/CoryXie/RemoteDesktopControl