简体   繁体   English

用 C/C++ 编写的网络编程示例项目

[英]An example project for network-programming written in C/C++

Are there good open-source projects on P2P file-sharing systems or distributed file systems written in C/C++ ?有没有用 C/C++ 编写的 P2P 文件共享系统或分布式文件系统的开源项目?

I need a project to start with network-programming.我需要一个项目来开始网络编程。

Can anyone give me any suggestions?谁能给我任何建议?

Boost asio examples on the boost.org are really good one to start. boost.org 上的 Boost asio 示例是一个非常好的开始。

http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/examples.html http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/examples.html

Rasterbar libtorrent is probably what unknown (google) meant to link to. Rasterbar libtorrent可能是未知(谷歌)要链接的内容。 It is heavily based on Boost, using Boost.Asio for all network code.它在很大程度上基于 Boost,对所有网络代码使用 Boost.Asio。 This is the library used by Halite and many others (but not rTorrent, which used a different library, also called libtorrent).这是 Halite 和许多其他人使用的库(但不是 rTorrent,它使用了不同的库,也称为 libtorrent)。

libTorrent libTorrent - written in C++, using Boost extensively (and asio mentioned by Mykola). libTorrent libTorrent - 用 C++ 编写,广泛使用 Boost(以及 Mykola 提到的 asio)。 If you want to have a look at a client application using libTorrent , then there is rTorrent while for libTorrent - for example Halite (also using Boost).如果您想查看使用 libTorrent 的客户端应用程序,那么对于 libTorrent 有 rTorrent - 例如Halite (也使用 Boost)。

EDIT: Thanks to Daniel Wallin for spotting the mixup of the different libTorrents.编辑:感谢 Daniel Wallin 发现不同 libTorrent 的混淆。

I think this would be helpful to get familiarize with the concepts.我认为这将有助于熟悉这些概念。

http://www.flazx.com/category95.php http://www.flazx.com/category95.php

Take a look at Transmission .看看传输

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM