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(
相關文章
相關標籤/搜索