下面哪个接口函数能获取本地主机名字()。
A.GetAdaptersInfo()
B.gethostbyname()
C.gethostname()
D.getsockopt()
正确答案:C
相关答案
热门答案