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

◆ initialize() [6/12]

CommunicatorPtr Ice::initialize ( int & argc,
const wchar_t * argv[],
InitializationData initData = {} )

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 accordingly.
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. If there is an argument starting with --Ice.Config, this function loads the specified configuration file. When the same property is set in a configuration file and through a command-line argument, the command-line setting takes precedence.
initDataOptions for the new communicator.
Returns
The new communicator.
Remarks
Windows only.