I have to create a simple application for accademic use, where I have to instantiate an authentication run using diffie hellman and other stuff. I need to know how I can create a connection between two instance of the program. Can I create some type of connection (maybe TCP) with c++ function?? There's some libraries to do the networking?
You can use boost, here are some examples:
http://www.boost.org/doc/libs/1_36_0/doc/html/boost_asio/examples.html
The term for such communication is Inter Process Communication (IPC)... you might start by reading http://en.wikipedia.org/wiki/Inter-process_communication
精彩评论