开源网络通信库参考

Sockets tcp/ip communication library

C++ Sockets Library

This is a GPL licensed C++ class library wrapping the berkeley sockets C API, and therefore works on most unixes and also win32. The library is in use in a number of real world applications, both commercial and open source.

Features include, but are not limited to, SSL support, IPv6 support, tcp and udp sockets, sctp sockets, http protocol, highly customizable error handling. Testing has been done on Linux and Windows 2000, and to some part on Solaris and Mac OS X.

References as follow:
《C++ Sockets Library: Class diagram》

《C++ Sockets库》

The Ultimate TCP-IP

(1)Easy To Use, Powerful Framework

Includes both high-level and low-level APIs.

No need to know Winsock programming. Work with the high level APIs to perform complex tasks with just a few lines of code.

Works with MFC, ATL and Windows SDK applications.

Fully object oriented, letting you create your own specialized Internet classes with ease.

The library is 100% royalty free.

Unlike other development components this framework is designed to work on all Win32 versions of Windows (i.e. not only NT).

Create highly scalable servers (hundreds of connections per CPU) using our multi-threaded server framework.

Create customized protocols for highly efficient data transfer.

(2)Includes Servers For The Most Popular Protocols

The Server edition of Ultimate TCP/IP includes the server-side implementations for the following protocols:

Web Server (HTTP protocol).

Finger server.

Fully functional Email and relay server (SMTP, POP3, DNS)

File transfer server (FTP)

Echo server.

*full source for each of the protocols is included

libcURL

libcurl - the multiprotocol file transfer library.

libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTMP and RTSP. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http proxy tunneling and more!

libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, UnixWare, HURD, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and more...

libcurl is free, thread-safe, IPv6 compatible, feature rich, well supported, fast, thoroughly documented and is already used by many known, big and successful companies and numerous applications.

ACE

The ADAPTIVE Communication Environment (ACE) is a freely available, open-source object-oriented (OO) framework that implements many core patterns for concurrent communication software. ACE provides a rich set of reusable C++ wrapper facades and framework components that perform common communication software tasks across a range of OS platforms. The communication software tasks provided by ACE include event demultiplexing and event handler dispatching, signal handling, service initialization, interprocess communication, shared memory management, message routing, dynamic (re)configuration of distributed services, concurrent execution and synchronization.

ACE is targeted for developers of high-performance and real-time communication services and applications. It simplifies the development of OO network applications and services that utilize interprocess communication, event demultiplexing, explicit dynamic linking, and concurrency. In addition, ACE automates system configuration and reconfiguration by dynamically linking services into applications at run-time and executing these services in one or more processes or threads.

FTP Application

MiniFTP

MiniFTP is a Winsock API-based minimal FTP client to be used as a tutorial for using the Winsock API in an MFC environment.

gFTP

gFTP is a free multithreaded file transfer client for *NIX based machines.

KFTPgrabber

KFTPgrabber is a graphical FTP client for the K Desktop Environment. It implements many features required for usable FTP interaction.

Pure-FTPd

Pure-FTPd is a free (BSD), secure, production-quality and standard-conformant FTP server. It doesn‘t provide useless bells and whistles, but focuses on efficiency and ease of use. It provides simple answers to common needs, plus unique useful features for personal users as well as hosting providers.

FileZilla

The free FTP solution. Both a client and a server are available. FileZilla is open source software distributed free.

Web Server Framework

(1)轻量级WebServer

lighttpd

Security, speed, compliance, and flexibility -- all of these describe lighttpd (pron. lighty) which is rapidly redefining efficiency of a webserver; as it is designed and optimized for high performance environments. With a small memory footprint compared to other web-servers, effective management of the cpu-load, and advanced feature set (FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting and many more) lighttpd is the perfect solution for every server that is suffering load problems.

mongoose(shttpd)

Mongoose is an easy to use web server. It can be embedded into existing application to provide a web interface to it.

Features:

l  Crossplatform - works on Windows, MacOS and most flavors of UNIX

l  CGI, SSL, SSI, Digest (MD5) authorization, resumed download, aliases

l  IP-based ACL, Windows service, GET, POST, HEAD, PUT, DELETE methods

l  Small footprint: executable size is 40 kB on Linux 2.6 i386 system, 60 kB on Windows system

l  Embeddable with simple and clean API. Source is in single .c file to make things easy

thttpd

thttpd is a simple, small, portable, fast, and secure HTTP server.

Simple:

It handles only the minimum necessary to implement HTTP/1.1. Well, maybe a little more than the minimum.

Small:

See the comparison chart. It also has a very small run-time size, since it does not fork and is very careful about memory allocation.

Portable:

It compiles cleanly on most any Unix-like OS, specifically including FreeBSD, SunOS 4, Solaris 2, BSD/OS, Linux, OSF.

Fast:

In typical use it‘s about as fast as the best full-featured servers (Apache, NCSA, Netscape). Under extreme load it‘s much faster.

Secure:

It goes to great lengths to protect the web server machine against attacks and breakins from other sites.

It also has one extremely useful feature (URL-traffic-based throttling) that no other server currently has. Plus, it supports IPv6 out of the box, no patching required.

References as follow:

《移植thttpd》

《深入研究嵌入式web服务器的视频监控应用》

(2)IM WebServer

Jabber

Jabber is InstantMessaging(IM) server written in pure C language,which is the origin of XMPP. It is based on XMPP(Extensible Messaging and Presence Protocol) expressed in XML.With Jabber/XMPP, differences between the IM are overcomed. It allows you to communicate between MSN,Yahoo, and etc.

Instant messaging between the Google Talk servers and its clients uses an open protocol, XMPP, allowing users of other XMPP/Jabber clients to communicate with Google Talk users. That is any client that supports Jabber/XMPP can connect to the Google Talk service.Refer to Google Talk and MSN via Jabber together in iChat.

References as follow:

A web based Jabber/XMPP client

Psi - The Cross-Platform Jabber/XMPP Client For Power Users

《开源Jabber(XMPP) IM服务器介绍》

《安装Jabberd服务器》

(3)重量级WebServer

Apache HTTP SERVER PROJECT

The Number One HTTP Server On The Internet!

The Apache HTTP Server Project is a collaborative software development effort aimed at creating a robust, commercial-grade, featureful, and freely-available source code implementation of an HTTP (Web) server.

References as follow:

Apache HTTP Server Version 2.2 Documentation

《Windows 下Apache httpd-2.2.11编译手记》

Nginx

nginx [engine x] is a HTTP and reverse proxy server, as well as a mail proxy server written by Igor Sysoev. It has been running for more than five years on many heavily loaded Russian sites including Rambler (RamblerMedia.com). According to Netcraft nginx served or proxied 4.70% busiest sites in April 2010. Here are some of success stories: FastMail.FM, Wordpress.com.

The sources are licensed under 2-clause BSD-like license.

Basic HTTP features:
l  Serving static and index files, and autoindexing; open file descriptor cache;

l  Accelerated reverse proxying with caching; simple load balancing and fault tolerance;

l  Accelerated support with caching of remote FastCGI servers; simple load balancing and fault tolerance;

l  Modular architecture. Filters include gzipping, byte ranges, chunked responses, XSLT, SSI, and image resizing filter. Multiple SSI inclusions within a single page can be processed in parallel if they are handled by FastCGI or proxied servers.

l  SSL and TLS SNI support.

References as follow:
《Nginx负载均衡搭建胜过Apache十倍?》

《牛X的NGINX,牛X的Igor Sysoev》

《nginx源码分析》

《nginx 0.8.47版发布》

《Nginx+Php搭建Web服务器》

《实战Nginx:取代Apache的高性能Web服务器》

Memcache

《网站Cache全分析》

《Cache性能分析》

《同时多线程处理器上的Cache性能分析与优化》
Memcached

Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

Memcached is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many problems facing large data caches. Its API is available for most popular languages.

References as follow:
《Memcached完全剖析》

Squid cache

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. It runs on most available operating systems, including Windows and is licensed under the GNU GPL.

Features:

Making the most of your Internet Connection

Website Content Acceleration and Distribution

Varnish

Varnish is a state-of-the-art, high-performance HTTP accelerator. It uses the advanced features in Linux 2.6, FreeBSD 6/7 and Solaris 10 to achieve its high performance.

References as follow:
《使用Varnish代替Squid做网站缓存加速器的详细解决方案》

Multimedia Streaming and P2P

An RTSP Toolkit

oRTP

oRTP - a Real-time Transport Protocol (RFC3550) stack under LGPL

References as follow:

oRTP Document

《oRTP Introduction》

《从RTP到oRTP》

《oRTP协议栈浅析》

JRTPLIB

JRTPLIB is an object-oriented RTP library written in C++. The library offers support for the Real-time Transport Protocol (RTP), defined in RFC 3550. It makes it very easy to send and receive RTP packets and the RTCP (RTP Control Protocol) functions are handled entirely internally.

References as follow:

Document Reference

《流媒体相关知识介绍及其RTP应用》

MPEG4IP

MPEG4IP provides an end-to-end system to explore streaming multimedia. The package includes many existing open source packages and the "glue" to integrate them together. This is a tool for streaming video and audio that is standards-oriented and free from proprietary protocols and extensions.

spook

Spook is a Linux server application to capture live video and audio and stream it over an IP network. Currently, Spook supports capturing from a Firewire IIDC camera or Video4Linux(2) source and streaming MPEG4 with RTSP or JPEG stills with HTTP.

Spook for arm

LScube

The LScube - Libre Streaming, Libre Software, Libre Standards (formerly known as OMSP - Open Media Streaming Project) is a free/libre software project, supported by the Internet Media Group, that develops and maintains a suite of programs focused on multimedia streaming. We strive to fully support the IETF‘s standards for the real-time data transport over IP. The aim of the project is to provide open, free and interoperable solutions on a par with other proprietary streaming applications. All LScube software is released under Free Software licenses.

Fenice - legacy streaming server

Feng - the RTSP/RTP streaming server

The new streaming server sports various usability and architectural improvement over Fenice, our previous design.

Libnemesi - the RTSP/RTP client library

References as follow:

《Fenice vm流程研究》

live555(VC6版本,VC2005版本)
This code forms a set of C++ libraries for multimedia streaming, using open standard protocols (RTP/RTCP, RTSP, SIP). These libraries - which can be compiled for Unix (including Linux and Mac OS X), Windows, and QNX (and other POSIX-compliant systems) - can be used to build streaming applications.

References as follow:

live Documentation

《用VC2005编译多媒体串流程序库》

VLC

Free streaming and multimedia solutions for all OS!

VLC is a free and open source cross-platform multimedia player and framework, that plays most multimedias files as well as DVD, Audio CD, VCD, and various streaming protocols.

References as follow:

Doc/Support

《VLC RTSP implementation with live555》

《Windows平台下vlc的编译》

《VC6编译VLC-0.9.9a步骤说明》

《VLC产生rtsp测试源》

Helix

The Helix DNA™ Server

The Helix DNA Server is a universal delivery engine supporting the real time packetization and network transmission of any media type to any device.

Helix DNA Client

The Helix DNA Client is the universal digital media playback engine, supporting playback of any format and codec on any device. It provides the underlying multimedia functionality to a whole host of applications that require local and streaming playback of multiple formats in disparate environements.

Helix Player

The Helix Player is an open source media player for Linux, Solaris, and Symbian based on the Helix DNA Client media engine.

《RealPlayer 10.0.8 For Wince 源码》

IP Messenger

This is a pop up style LAN Messenger for multi platforms.

It is based on TCP/IP(UDP).

It does not require server machine-most primitive P2P infrastructure.

Simple, lightweight, and compact size.

References as follow:

《IPMSG分析》

《IPMSG(飞鸽传书)协议翻译》

《IPMSG协议》

《IPMSG飞鸽传书网络协议解析手记》

《IPMsg中最核心的数据结构》

《IPMSG(飞鸽传书)文件发送源码分析》

Icecast

icecast is free server software for streaming audio(Mpeg III) over Internet with P2P technology.

peercast

PeerCast is a simple, free way to listen to radio and watch video on the Internet. It uses P2P technology to let anyone become a broadcaster without the costs of traditional streaming.

References as follow:

《peercast王浩聪注释版》

《Peercast over IPv6》

myseelite

MyseeLite is a P2P Media Streaming System including servers on Linux and client on Windows 98/NT/2000/XP/2003. It was commercial once, but now goes opensource. It was developed from 2003.8 by a company in China.

References as follow:

《P2P网络技术原理与C++开发案例》

《myseelite源代码和开发分析》

时间: 2024-08-04 22:28:41

开源网络通信库参考的相关文章

Vue常用经典开源项目汇总参考-海量

Vue常用经典开源项目汇总参考-海量 Vue是什么? Vue.js(读音 /vju/, 类似于 view) 是一套构建用户界面的 渐进式框架.与其他重量级框架不同的是,Vue 采用自底向上增量开发的设计.Vue 的核心库只关注视图层,并且非常容易学习,非常容易与其它库或已有项目整合.另一方面,Vue 完全有能力驱动采用单文件组件和 Vue 生态系统支持的库开发的复杂单页应用. Vue.js 的目标是通过尽可能简单的 API 实现响应的数据绑定和组合的视图组件. 易用(已经会了HTML,CSS,J

Android网络通信库Volley简介

1. 什么是Volley 在这之前,我们在程序中需要和网络通信的时候,大体使用的东西莫过于AsyncTaskLoader,HttpURLConnection,AsyncTask,HTTPClient(Apache)等,今年的Google I/O 2013上,Volley发布了.Volley是Android平台上的网络通信库,能使网络通信更快,更简单,更健壮.这是Volley名称的由来: a burst or emission of many things or a large amount at

基于HTML5的开源图标库-ECharts

ECharts: 来自百度商业前端数据可视化团队,基于html5 Canvas,纯Javascript图表库,底层依赖ZRender,商业产品常用图表库,提供直观,生动,可交互,可个性化定制的数据可视化图表.创新的拖拽重计算.数据视图.值域漫游等特性大大增强了用户体验,赋予了用户对数据进行挖掘.整合的能力.图表类型支持折线图(区域图).柱状图(条状图).散点图(气泡图).K线图.饼图(环形图).雷达图(填充雷达图).和弦图.力导向布局图.地图,同时支持任意维度的堆积和多图表混合展现. 链接是:h

爆料喽!!!开源日志库Logger的使用秘籍

导读 日志对于开发来说是非常重要的,不管是调试数据查看.bug问题追踪定位.数据信息收集统计,日常工作运行维护等等,都大量的使用到.今天介绍著名开源日志库Logger的使用,库的地址:https://github.com/orhanobut/logger 在Android Studio中的gradle中加入,就可以引用依赖logger库: dependencies { compile 'com.orhanobut:logger:1.15' } Logger库能提供的功能: 线程的信息 类的信息

【Android开源项目解析】RecyclerView侧滑删除粒子效果实现——初探Android开源粒子库 Leonids

前两天在微博上看到了这个侧滑删除的粒子效果,但是只有IOS的,所以心血来潮,写了个玩玩,下面简单介绍下实现的思路 项目简介 实现原理解析 代码实现 如何使用 更多参考 项目简介 先不废话,上效果图 项目地址:https://github.com/ZhaoKaiQiang/ParticleLayout 实现原理解析 其实看了那么多的关于侧滑删除的项目,再来思考这个问题,就so easy了! 咱们先分析下需求: - 侧滑手势检测 - 粒子跟手效果 - 删除状态判断 - 数据源刷新 ok,知道需求了,

HelloCharts开源图表库(一)之折线图

之前我们介绍了开源图表库MPAndriodChart,请参考http://blog.csdn.net/shineflowers/article/details/44704723. 我们今天介绍的将是一个更为优秀的图表库,比MPAndroidChart性能更好,功能更完善,UI风格更美观,坐标轴更精细. 支持缩放.滑动以及平移.Zoom(pinch to zoom, double tap zoom), scroll and fling 支持自定义坐标轴(比如坐标轴位置:上下左右内部),支持自动生成

Linux下常用的C/C++开源Socket库

1.      Linux Socket Programming In C++ : http://tldp.org/LDP/LG/issue74/tougher.html 2.      ACE: http://www.cs.wustl.edu/~schmidt/ACE.html ACE采用ACE_OS适配层屏蔽各种不同的.复杂繁琐的操作系统API. ACE是一个大型的中间件产品,代码20万行左右,过于宏大,一堆的设计模式,架构了一层又一层.它庞大.复杂,适合大型项目.开源.免费,不依赖第三方库

曲线控件我一直用codeproject上的那几个(C++ 100款开源界面库)

Alberl#23楼[楼主] 2013-11-04 11:47 Alberl @baita00引用看了大神的教程,真的不错,学习了很多东西,^_^.这节教程里,大神好像在找曲线控件,是吗?大神有什特殊需求,兄弟可以给你定制cchart,作为学习你教程的答谢,呵呵. 这里只是对比界面库哦~曲线控件我一直用codeproject上的那几个: 1.功能最强大,但是很多bug,需要自己修改,目前用的这个http://www.codeproject.com/Articles/1993/Scientific

C++开源网络库(Socket library)

(1)ACE 庞大.复杂,适合大型项目.开源.免费,不依赖第三方库,支持跨平台. http://www.cs.wustl.edu/~schmidt/ACE.html http://download.dre.vanderbilt.edu/ (2)Asio Asio基于Boost开发的异步IO库,封装了Socket,简化基于socket程序的开发. 开源.免费,支持跨平台. http://think-async.com/ (3)POCO POCO C++ Libraries 提供一套 C++ 的类库