摘要: 1 //获取本机ip 2 CString getIP() 3 { 4 SOCKET sd = WSASocket(AF_INET, SOCK_DGRAM, 0, 0, 0, 0); 5 CString strIP; 6 7 if (sd == SOCKET_ERROR) 8 { 9 closesoc 阅读全文
posted @ 2021-04-21 15:59 youlj 阅读(714) 评论(0) 推荐(0) 编辑