摘要: #include <winsock2.h>#include <windows.h>#include <iostream>#pragma comment(lib,"ws2_32.lib")using namespace std;int main (){ WSADATA wsaData; if (WSAStartup(MAKEWORD(2,2), &wsaData) != 0) { cout << "WSAStartup failed.\n"; system("pause"); re 阅读全文
posted @ 2013-01-31 15:02 Monn 阅读(3031) 评论(0) 推荐(0) 编辑