Changed RPC::setRemote to use struct hostent *host instead of a char*