update for getting broadcast ip and hostname