Title: getaddrinfo (RFC 2553)

hi all,

the spec is not very explicit about this, so i'd like
to make sure...

if (hints->ai_socktype is 0), it is meant to indicate
that the caller will accept any protocol. 

does this imply that if both UDP and TCP services
exist with the given name, getaddrinfo should return
addrinfo structures for both these protocols.  or
should one choose a default protocol (say TCP) and
return only TCP addrinfo structures?

thanx,
mohit.

Reply via email to