Compiles and works well!
Implemented test, creating and removing P2PSocket using C++ and C APIs.
Added p2p_createSocketOnDaemon C function.