TCP/IP Sockets

I was learning about sockets/internet programming and was wondering why getaddrinfo() returned a linked list of addrinfo structs. Shouldn't it just return one strucutre?
I am on a Mac using netbeans.
There can be multiple IP addresses per hostname
Topic archived. No new replies allowed.