2010年5月13日

获取本地IP地址,并在IP CONTROL控件中显示出来

摘要: char sHostName[100]; gethostname(sHostName,sizeof(sHostName)); struct hostent FAR * lpHostEnt=gethostbyname(sHostName); if(lpHostEnt==NULL) { Messag... 阅读全文

posted @ 2010-05-13 09:27 爱你一万年123 阅读(167) 评论(0) 推荐(0)

导航