Cross platform C++ template-based IPC library.
Clone or download
Latest commit d9f7c65 Jul 31, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Adding CMake configuration Apr 13, 2015
CMakeLists.txt Adding CMake configuration Apr 13, 2015
README.md Updating README.md Jul 31, 2017
mc_binding-inl.hpp Code cleanup Feb 19, 2012
mc_binding.cpp Adding support for STL types Feb 19, 2012
mc_binding.hpp Code cleanup Feb 19, 2012
mc_buffer.cpp Simplifying some templates Feb 24, 2012
mc_buffer.hpp Simplifying some templates Feb 24, 2012
mc_client.cpp Cleanup Feb 20, 2012
mc_client.hpp Cleanup Feb 20, 2012
mc_common.hpp code reorg Sep 5, 2011
mc_functor.hpp Code cleanup Feb 19, 2012
mc_meta.hpp Simplifying some templates Feb 24, 2012
mc_packet.hpp Simplifying some templates Feb 24, 2012
mc_prefab-inl.hpp Adding tests for std::pair and std::map Apr 21, 2012
mc_prefab.cpp Simplifying some templates Feb 24, 2012
mc_prefab.hpp Simplifying some templates Feb 24, 2012
mc_protocol-inl.hpp Code cleanup Feb 19, 2012
mc_protocol.cpp Cleanup Feb 20, 2012
mc_protocol.hpp Code cleanup Feb 19, 2012
mc_serial-inl.hpp Simplifying some templates Feb 24, 2012
mc_serial.cpp Simplifying some templates Feb 24, 2012
mc_serial.hpp Simplifying some templates Feb 24, 2012
mc_server.cpp Cleanup Feb 20, 2012
mc_server.hpp Cleanup Feb 20, 2012
mc_socket.cpp Adding support for STL types Feb 19, 2012
mc_socket.hpp socket changes Feb 19, 2012
mc_stream-inl.hpp qtcreator stuff Feb 19, 2012
mc_stream.cpp Cleanup Feb 20, 2012
mc_stream.hpp Cleanup Feb 20, 2012
mc_token.cpp Adding support for STL types Feb 19, 2012
mc_token.hpp qtcreator stuff Feb 19, 2012
metacall.hpp More STL support Feb 19, 2012
metacall.pro renaming unit test file Apr 14, 2012
testing.cpp simplifying unit test Apr 23, 2012

README.md

Metacall

Many winters while ago I needed to find a simple cross-platform IPC library to use for one of my projects. After a good amount of searching, I was disappointed to discover that although there were lots of libraries for handling IPC, all were very "enterprisey", had a lot of dependencies, and were generally difficult to integrate into my simple console application. Basically, I wanted to use something that was easier than raw sockets/pipes, but conceptually simpler than a gigantic platform-specific monster like WCF. Before long, I came to the realization that there was nothing left to do but write to this library for myself. I called it "Metacall" to reflect the use of C++ template metaprogramming in its implementation, combined with the notion of "calling" functions over the TCP/IP sockets.

Metacall was designed with the following principles in mind:

  • Do be cross-platform compatible between Linux and Windows.
  • Don't depend on anything outside of CRT, STL and sockets.
  • Do prefer simplicity over a complex feature set.
  • Do keep boilerplate code requirements to a minimum.

License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.