Changed the resolve.c file to accomodate for using an ip address other than the one hardcoded