
libInit
Initializes devP2P library.
Syntax
- C++
bool libInit(void);
The libInit() syntax has these parts:
The libInit() syntax has these parts:
Return value | Returns 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
WindowsMac OSX
Linux
BSD