#ifndef UNICODE#define UNICODE#endif
#define WIN32_LEAN_AND_MEAN
#include <winsock2.h>#include <Ws2tcpip.h>#include <stdio.h>
// Link with ws2_32.lib#pragma comment(lib, "Ws2_32.lib")
谁用谁知道。
win编程,遇到问题先百度= =