在 gethostname(szhostname, sizeof(szhostname));
phost = gethostbyname(szhostname);
使用前
需要首先调用WSAStartup function initiates use of WS2_32.DLL by a process.
本文介绍在使用gethostname和gethostbyname之前,需要通过调用WSAStartup函数来初始化WS2_32.DLL的过程。
在 gethostname(szhostname, sizeof(szhostname));
phost = gethostbyname(szhostname);
使用前
需要首先调用WSAStartup function initiates use of WS2_32.DLL by a process.

被折叠的 条评论
为什么被折叠?