Back to product page

libInit


Initializes devP2P library.

Syntax

  • C++
bool libInit(void);
The libInit() syntax has these parts:
Return valueReturns true on success.

Remarks

This function must be called first, once, before any usage of devP2P. It creates internal structures and classes, and prepares devP2P for usage. After calling this method, you can call Create method as many times as you wish to obtain new instances of devP2P.

When you are done with using devP2P library, call libFree function.

Platforms

Windows
Mac OSX
Linux
BSD