Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ initialize() [5/12]

CommunicatorPtr Ice::initialize ( int & argc,
const char * argv[],
std::string_view configFile )

Creates a new communicator.

Parameters
[in,out]argcThe number of arguments in argv. When this function parses properties from argv, it reshuffles the arguments so that the remaining arguments start at the beginning of argv, and updates argc.
argvThe command-line arguments. This function parses arguments starting with -- and one of the reserved prefixes (Ice, IceSSL, etc.) as properties for the new communicator.
configFileThe name of an Ice configuration file.
Returns
The new communicator.