通过socket获取网页源码(C++源码)——转
转自:http://y83815.blog.163.com/blog/static/1778448520090142753418/我把它的网页换成了百度而已,且在工程中添加ws2_32.lib#include #include #include #include using namespace std;int main(void){WORD wVersionRequested; WSADATA wsaData; int err; wVersionRequested = MAKEWORD( 2,
复制链接