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, to better understand the struct.
Thanks in advance.
Thanks for the answers. Maybe I wasn't clear:
I want to know whether the variable name "hints" is some abbreviation for some words? Or if the word "hints" means it only gives some address info and let the getaddrinfo() function fill in the rest?