对不起还有一句: unresolved external symbol __imp__WSAIoctl@36
那再加一句:#pragma comment(lib, "ws2_32.lib");
缺少相应的lib;#pragma comment(lib, "wsock32.lib"); Debug mode simply take two libs ( Ip help library and winsock ) to debug mode too ,just see the lib in release mode
unresolved external symbol __imp__WSAIoctl@36
Debug mode simply take two libs ( Ip help library and winsock ) to debug mode too ,just see the lib in release mode
realdreamer(楼主英明,贫僧久仰大名,特来拜见)
说得2个lib