You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Chops Net IP - Connective Handcrafted Openwork Software for Asynchronous IP Networking
8
2
9
3
Chops Net IP is a C++ library that makes asynchronous networking programming fun. Or at least if not fun, it makes network programming easier and safer, without significantly sacrificing performance. Chops Net IP handles Internet Protocol (IP) communications including TCP, UDP, and UDP multicast. It is written using modern C++ design idioms and the latest (2017) C++ standard.
@@ -12,23 +6,26 @@ Chops Net IP is not like any other high-level, general purpose C++ socket librar
12
6
13
7
Chops Net IP is layered on top of the Asio asynchronous networking library, taking advantage of the portability and functionality that Asio provides. However, it simplifies network programming compared to coding against the Asio API, while providing easy scalability through the asynchronous facilities.
Release 1.0 is under development as of January 2020, awaiting CMake enhancements, a comprehensive tutorial, and additional testing under multiple compilers and platforms.
24
19
25
20
Release notes and upcoming development plans are [available here](doc/release.md).
26
21
22
+
This project is distributed under the [Boost Software License](LICENSE.txt): [](http://www.boost.org/LICENSE_1_0.txt)
23
+
27
24
# Overview
28
25
29
26
For many software developers, asynchronous network programming in C++ is not easy. It is complex, has many pitfalls, and requires designing C++ code in a way that is not natural, even for those with years of experience. Chops Net IP ("C"onnective "H"andcrafted "Op"enwork "S"oftware, Networking over Internet Protocol) simplifies asynchronous network programming and provides useful (and tasty!) abstractions for many types of communication patterns.
30
27
31
-
Chops Net IP is layered on top of Chris Kohlhoff's Asio library (see [References](doc/references.md)) allowing it to be portable across many compilers and platforms. When the C++ Networking TS is standardized (possibly C++ 23 but more likely C++ 26) Chops Net IP will directly use the networking facilities of the C++ standard library.
28
+
Chops Net IP is layered on top of Chris Kohlhoff's Asio library (see [References](https://connectivecpp.github.io/doc/references.html)) allowing it to be portable across many compilers and platforms. When the C++ Networking TS is standardized (possibly C++ 23 but more likely C++ 26) Chops Net IP will directly use the networking facilities of the C++ standard library.
32
29
33
30
Chops Net IP simplifies application code that processes data on multiple simultaneous TCP connections or UDP endpoints. All Chops Net IP operations (from the application viewpoint) are no-wait (i.e. there are no blocking methods) and all network processing operations are performed asynchronously.
34
31
@@ -79,18 +76,10 @@ A detailed overview, a C++ socket library comparison, and a FAQ is [available he
79
76
80
77
# C++ Language Requirements and Alternatives
81
78
82
-
C++ 17 is the primary standards baseline for this repository. There is also one future C++ facility in use (`std::expected`, allowing error handling without using exceptions).
83
-
84
-
A significant number of C++ 11 features are in the implementation and API. There are also C++ 14 and 17 features in use such as `std::byte`, `std::optional`, `std::variant` and `auto` parameters in lambda functions. For users that don't want to use the latest C++ compilers or compile with C++ 17 flags, Martin Moene provides an excellent set of header-only libraries that implement many useful C++ 17 library features (for older compilers or standards), as well as future C++ features (see [References](doc/references.md)).
85
-
86
-
While the main production branch will always be developed and tested with C++ 17 features (and relatively current compilers), alternative branches and forks for older compiler versions are welcome. In particular, a branch using Martin's libraries and general C++ 11 (or C++ 14) conformance would be useful. A branch supporting a pre-C++ 11 compiler or language conformance is not likely to be directly supported through this repository (since it would require so many changes that it would result in a defacto different codebase).
79
+
C++ 17 is the primary baseline for this repository. Additional notes on possible alternatives are [available here](https://connectivecpp.github.io/).
87
80
88
81
# External Dependencies
89
82
90
-
The libraries and API's have minimal (as possible) library dependencies (there are heavy dependencies on the C++ standard library in all of the code). There are more dependencies in the test code than in the production code.
91
-
92
-
All the dependencies listed below have links that will take you to the library or repository.
93
-
94
83
Production external dependencies:
95
84
96
85
- Version 1.13 (or later) of Chris Kohlhoff's [`asio`](https://github.com/chriskohlhoff/asio) library is required. Note that it is the stand-alone Asio library, not the Boost Asio version.
@@ -104,7 +93,7 @@ There are single file headers that have been copied into the `third_party` direc
104
93
105
94
- Martin Moene's [`expected-lite`](https://github.com/martinmoene/expected-lite) library.
106
95
107
-
See [References](doc/references.md) for additional details.
96
+
See [References](https://connectivecpp.github.io/doc/references.html) for additional details.
108
97
109
98
# Supported Compilers and Platforms
110
99
@@ -121,9 +110,11 @@ Chops Net IP is header-only, so installation consists of downloading or cloning
121
110
122
111
# References
123
112
124
-
See [References](doc/references.md) for details on dependencies and inspirations for Chops Net IP.
113
+
See [References](https://connectivecpp.github.io/doc/references.html) for details on dependencies and inspirations for Chops Net IP.
125
114
126
115
# About
127
116
128
-
Team member information is [available here](https://connectivecpp.github.io/), and a few random author comments are [available here](doc/about.md).
117
+
Team member information is [available here](https://connectivecpp.github.io/).
118
+
119
+
A few "Cliff Notes" are [available here](doc/cliff_notes.md).
Copy file name to clipboardExpand all lines: doc/cliff_notes.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,3 @@
1
-
# Author Notes and Contributor Information
2
-
3
1
## A Cliff Note on the Chops Name
4
2
5
3
>(from Cliff, 2018) Yes, the name / acronym is a stretch. Quite a stretch. I like the word "chops", which is a jazz term for strong technique, so I decided on that for a name. For example, "Check out Tal Wilkenfeld, she's got mad chops."
@@ -16,6 +14,6 @@
16
14
17
15
>Even though I didn't use "openhearted" in the name, it's an aspect that I aspire to in every part of my life. I fall short, very often, but not because of lack of effort or desire.
18
16
19
-
>I mentioned Tal earlier in this note, so here are two representative YouTube videos of her playing with Jeff Beck, who I consider one of the all time best guitarists. The first video is a blend of jazz, rock, and funk, the second is the two of them playing one of my favorite rock / jazz fusion ballads: https://www.youtube.com/watch?v=jVb-izZVCwQ, https://www.youtube.com/watch?v=blp7hPFaIfU
17
+
>I mentioned Tal earlier in this note, so here is a representative YouTube video of her playing with Jeff Beck, who I consider one of the all time best guitarists. It is a blend of jazz, rock, and funk - https://www.youtube.com/watch?v=jVb-izZVCwQ.
20
18
21
-
>And since I'm on a music digression, an artist I often listen to while writing code is Helios. His music is instrumental, space music'ey, ambient, contains a nice amount of harmonic and rhythmic complexity, and is very melodic. Most important it doesn't interfere with my concentration. A good album to start with is Eingya: https://www.youtube.com/watch?v=fud-Lz76MHg
19
+
>And since I'm on a music digression, an artist I often listen to while writing code is Helios. His music is instrumental, space music'ey, ambient, contains a nice amount of harmonic and rhythmic complexity, and is very melodic. Most important it doesn't interfere with my concentration. A good album to start with is Eingya.
Copy file name to clipboardExpand all lines: doc/release.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,13 @@
2
2
3
3
## Release 1.0
4
4
5
-
Release 1.0 is under development, expected in the first part of 2020. Additional platform and compiler testing is under way, in-depth tutorials are under development, and the marshalling library in the `utility-rack` repository needs to be completed.
5
+
Release 1.0 is under development, expected in the first part of 2020. The functionality is already well tested under g++ and clang++ on Linux, MacOS, and Raspbian, but needs additional testing on other compilers and platforms including VC++ on Windows.
6
+
7
+
### Next Steps, ToDo's, Problems, and Constraints:
8
+
9
+
- The CMake files (CMakeLists.txts, etc) are working but enhancements and improvements are needed. CMake is relatively new for the Connective C++ team and enhancement requests are welcome.
10
+
- Code coverage tools have not been used on the codebase.
11
+
- The Doxygen annotation is mostly complete, but additional tutorial content is needed.
0 commit comments