摘要:
服务器端:// UdpSrv.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include //必须加载套接字的头文件,还必须在工程的链接处添加 Ws2_32.lib#include int main(int argc, char* argv[]){ //加载套接字库 WORD wVersionRequested; WSADATA wsaData; int err; wVersionRequested =MAKEWORD(1,1); ... 阅读全文