decide arg to getservbyname() based on ai_protocol, not ai_socktype.
decide arg to getservbyname() based on ai_protocol, not ai_socktype.

MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame