Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7734731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:19:28+00:00 2026-06-01T07:19:28+00:00

I am writing a web-spider program with C. Now I am given a url’s

  • 0

I am writing a web-spider program with C. Now I am given a url’s list, and first I need to get the server IP address using function: getaddrinfo, and then ridiculous thing happended:

In the url’s list there are about 4,000,000 url’s, the first about 6,000 url’s are processed very well, and then suddenly all of the url’s behind failed! getaddrinfo returns “temporary failure in name resolution” for every url. In addition, if I restart program from the first ‘bad’ url, it work again.

I am really confused and stuck for 2 days, I felt that the DNS is working well, but some limited resources have been used up, can any one give me some suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T07:19:30+00:00Added an answer on June 1, 2026 at 7:19 am

    Are you calling freeaddrinfo() on the returned address information? Very basic, but since you’re not showing your code it’s the first theory that comes to mind.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing web application where I need to push data from server to the
I'm writing web application using codeigniter framework. Here is the structure of document root
I have some experience writing web applications in Java for class projects. My first
I am writing web application using ASP.NET MVC + NHibernate + Postres stack. I
I'm fairly new to writing web services. I'm working on a SOAP service using
I'm currently writing a web crawler (using the python framework scrapy ). Recently I
I am looking into writing web based games using just Javascript, HTML, and CSS.
I am writing web portal for mobile phones using .net framework, I have tested
While reading some articles about writing web servers using Twisted , I came across
When writing web parts in SharePoint, are you implementing IDisposable via a using clause?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.