When doing socket programming, people always name the addrinfo struct like this:
struct addrinfo hints;
// get ready to connect
status = getaddrinfo("www.example.net", "3490", &hints, &servinfo);
I'd like to know what it stands for for better understanding.
Thanks in advance.
Thanks for the answers. Maybe I didn't make me clear.
But I want to know whether the variable name "hints" is some abbreviation for some words? Or it's just the word "hints" means it only give some address info and let the getaddrinfo() function to fill in the rest ones?