TCP.普通socket(阻塞/非阻塞)模型

在此介绍window下的TCP普通socket编程. 1.服务器端 // CommonSocket.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "winsock2.h" #pragma comment(lib, "Ws2_32.lib") int _tmain(
相关文章
相关标签/搜索