ProtocolStackTo configure and initialize the LayGO protocol stack:
try
{
ProtocolStack.start(cfgFileList, null);
}
catch (ProtocolStackException ex)
{
/* Report error and exit */
}
After all processing with the stack is complete:
ProtocolStack.stop();