摘要: 服务器端// TCPServer.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #pragma comment(lib,"WS2_32.lib");//#include #include using namespace std;int _tmain(int argc, char* argv[]){ const int BUF_SIZE = 64; WSADATA wsd; //WSADATA变量 SOCKET sServer; //服务器套接字 SOCKET sClient; //客户端套接字 SOC 阅读全文
posted @ 2013-03-07 10:31 CBDoctor 阅读(3950) 评论(0) 推荐(1)