Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am now struggling with network communication part of my first client/server solo-project. I have to keep searching the internet to figure out how to write correct code, because I haven't do multithreading project before.

Could you recommend some small well-written c/c++ network related projects that I could start with?

share|improve this question

closed as not constructive by Thomas Owens Oct 10 '12 at 11:30

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.

3 Answers

up vote 0 down vote accepted

In short, contribution to open-source project is the best way to learn.

I myself started to contribute to wxWidgets for similar reasons. They have a dedicated page of how to contribute patches and if you look at the Trac page you can easily find a simple bug to fix to get you starting. If you still don't know what to fix, then simply ask on the developer mailing list.

As a specific c++ network library you may look at the following source forge project.

share|improve this answer
OP is not looking for libraries that can be utilized for network programming, but rather complete, well-written projects that do networking. – fish Oct 10 '12 at 11:30
@fish, my first statement is about open-source c++ project that has network module in it. the second statement is just additions info. – ElYusubov Oct 10 '12 at 11:33
That still doesn't answer the question, OP is already seeking open source projects to learn from them, so he already got that idea. He's looking for specific projects. – fish Oct 10 '12 at 12:24

This is also not an application, but a high level web application framework geared to writing web applications in C++. CppCMS

share|improve this answer
  1. boost asio

  2. libev

  3. libevent

  4. ACE

  5. POCO

share|improve this answer
OP is not looking for libraries that can be utilized for network programming, but rather complete, well-written projects that do networking. – fish Oct 10 '12 at 11:30
@fish - I don't see the difference between the two. – Ramhound Oct 10 '12 at 11:41
1  
That's unfortunate, but I don't think I can explain better. Maybe an example will help. Take for instance a multiplayer game. It does networking, utilizing whatever library it chooses to use. It's good for OP because he wants to look at its source code to learn from it. The libraries this answer lists are not useful for OP because he is looking for projects that use such libraries, not the libraries themselves. – fish Oct 10 '12 at 12:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.