![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Windows网络编程
ggying
积土成山,风雨兴焉;积水成渊,蛟龙生焉
展开
-
阻塞模式 客户端与服务器相互问候 TCP/IP通信 63页
代码来源于 》》》》》》》》》》》》》》》》》》》》》 Windows Sockets网络开发VC++ 这本书 在stdafx.h 中添加 #pragma comment(lib,"ws2_32.lib") 服务器实现// ServerCSgreeting.cpp : 客户端与服务器相互问候。//#include "stdafx.h"#include "winsock2.h"#inc...转载 2018-06-02 18:42:07 · 238 阅读 · 0 评论 -
TCP (Windows Sockets)套接字示例程序 VS2013 win32应用程序实现
代码来源于 》》》》》》》》》》》》》》》》》》》》》 Windows Sockets网络开发VC++ 这本书在stdafx.h 中添加 #pragma comment(lib,"ws2_32.lib")服务端 程序// server.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "winsock2.h"int _tmain(in...原创 2018-05-30 00:01:37 · 645 阅读 · 3 评论 -
UDP (Windows Sockets)套接字示例程序 VS2013 win32应用程序实现
代码来源于 》》》》》》》》》》》》》》》》》》》》》 Windows Sockets网络开发VC++ 这本书 在stdafx.h 中添加 #pragma comment(lib,"ws2_32.lib") 服务端程序// ServerUDP.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "winsock2.h"int _tma...原创 2018-05-30 15:31:29 · 626 阅读 · 0 评论 -
非阻塞模式 多线程 《客户端与服务器算数运算》 TCP/IP通信 之一 客户端实现
代码来源于 》》》》》》》》》》》》》》》》》》》》》 Windows Sockets网络开发VC++ 这本书 在stdafx.h 中添加 #pragma comment(lib,"ws2_32.lib") //funtiondec.h#include "winsock2.h" #define CLIENT_SETUP_FAIL 1 //启动客户端失败#define CLIENT_C...原创 2018-06-06 18:17:36 · 551 阅读 · 0 评论 -
非阻塞模式 多线程 《客户端与服务器算数运算》 TCP/IP通信 之二 服务器端实现
代码来源于 》》》》》》》》》》》》》》》》》》》》》 Windows Sockets网络开发VC++ 这本书 在stdafx.h 中添加 #pragma comment(lib,"ws2_32.lib") //funtiondec.h#ifndef FUNTIONDEC_H #define FUNTIONDEC_H#include "winsock2.h" #define SE...原创 2018-06-06 18:21:27 · 260 阅读 · 0 评论