Libt2n Explained

libt2n
Latest Release Version:0.7
Programming Language:C++
Operating System:Unix-like
Genre:Inter-process communication
License:LGPL

libt2n is a free Inter-process communication (IPC) library which offers a simple way for C++ applications to communicate with one another.

Introduction

libt2n is an inter-process communication (IPC) system which is focused on ease of use and a minimum of code-lines needed to export and use methods. This is achieved by reducing the feature-set and relying on the serialization library developed at Boost.[1] [2]

The goals of libt2n development are:

The limitations of the current libt2n implementation:

Architecture

libt2n is divided in two parts:

The code generator does not use an Interface description language (IDL), but parses the source code of the server for special tags. It produces the code needed to handle the calls on the server and a ready-to-use library for the client.

If a remote function is called, the client library creates an object describing the call, including all parameters. This object is serialized using the Boost serialization library and transferred to the server. Currently this can be done using Unix domain sockets or TCP. The server deserializes the object and calls the corresponding method. The result (return value or exception) is again serialized and sent back to the client.

Trivia

t2n is an abbreviation for 'talk to neighbor'.

External links

Notes and References

  1. Web site: libt2n website. 26 September 2013. https://web.archive.org/web/20120220093816/http://www.intra2net.com/en/developer/libt2n/. 20 February 2012.
  2. Web site: Novell shareware. 26 September 2013.