While going through the code, I found that we have 2 options for ServiceType - 
InProc and OutOfProc defined in OCApi.h

This is the 1st option when creating a PlatformConfig and it seems like only 
InProc is supported. If I change it to OutOfProc in simpleclient example
PlatformConfig cfg
    {
        ServiceType::OutOfProc, ModeType::Client, "0.0.0.0", 0, 
QualityOfService::LowQos
    };
,
it crashes with the following dump:

terminate called after throwing an instance of 'OC::OCException'
  what():  result_guard(): 32: Not Implemented
Aborted (core dumped)

My question is if there is any plan for implementing OutOfProc?  If not, is it 
safe to remove it form the Iotivity codebase?

Thanks,
Rahul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20151130/57d509d3/attachment.html>

Reply via email to