c++ - What is the time cost of getaddrinfo()? -



c++ - What is the time cost of getaddrinfo()? -

i using getaddrinfo() api resolve dns queries in cross platform c++ app. need know time cost of getaddrinfo() in different platforms? can help me on this?

this function not have algorithmic complexity because not doing complex computation inside. best should take measurements on systems/platforms using , base of operations expectations on this.

the result drastically vary depending on network have. imagine scheme has slow dial-up connection. speed not have in mutual fast lan , dns server sitting on same lan.

c++ dns reverse-dns

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -