网络编程
zz962
喜欢钻研技术
展开
-
使用SOCKET发送HTTP请求
TODO原创 2011-11-11 21:12:44 · 1144 阅读 · 0 评论 -
常见网络错误码原因分析
100611、connect返回此错误码,可能的原因是服务没开。10058100141、recv返回该错误码,可能的原因是长度给了负值。10057原创 2011-12-07 21:25:44 · 1113 阅读 · 0 评论 -
最基本的TCP客户端
// SimpleTCPClient.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #pragma comment (lib, "Ws2_32.lib")#define BUF_SIZE 64int _tmain(int argc原创 2011-11-10 20:58:00 · 597 阅读 · 0 评论 -
最基本的TCP服务端
// SimpleTCPServer.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include #include #pragma comment (lib, "Ws2_32.lib")#define BUF_SIZE 64int _tmain(int argc,原创 2011-12-10 15:16:47 · 1048 阅读 · 0 评论 -
UDP资料汇编
关键词UDP 稳定传输UDP 实时资料《UDT协议-基于UDP的可靠数据传输协议》http://wenku.baidu.com/view/781eea6b7e21af45b307a858.html《UDP应用程序的可靠数据传递研究》http://wenku.baidu.com/view/6d8cd3dace2f0066f5332295.html《基于 UDP的滑原创 2012-01-08 16:29:27 · 637 阅读 · 0 评论 -
UDP打洞资料汇编
《面向P2P通信的UDP Hole Punching技术研究与实现》http://www.studa.net/yingyong/080429/11544275.html《关于UDP Hole Punching的一些东西》http://hi.baidu.com/c4pt0r/blog/item/282b7429a73b11f898250a6e.html《Peer-to-Peer Communicat原创 2012-01-08 16:14:37 · 680 阅读 · 0 评论 -
TCP资料汇编
关键字端口映射资料原创 2012-01-08 16:57:21 · 560 阅读 · 0 评论