
个人学习
xflyor
做一名快乐的程序员……
展开
-
UNIX系统下的基于TCP协议的网络通信程序
1、包含头文件2、NETCLASEE定义#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <sys/types.h>#include <sys/ipc.h>#include <sys/stat.h>ypedef struct netmessage{ int successFla原创 2017-09-11 20:26:54 · 441 阅读 · 0 评论 -
About Nanomsg
Nanomsgnamomsg是一种提供多种常用通信模式的套接字库。它可以使网络通信变得更快,可扩展,并且还很容易使用。namomsg是用c语言实现的,所以可以在多种操作系统上使用,对操作系统没有特殊的要求。通信模式也被称为扩展性协议,是构建分布式系统的基础模块。通过链接它们,你可以创建一系列的分布式应用。目前,namomsg只支持下列的扩展性协议: * PAIR - 简单的一对一的通信协议; *翻译 2017-12-21 09:51:52 · 619 阅读 · 0 评论