Problem:
- Product Name: VisiBroker for C
- Product Version: 4.5
- Product Component: ORB
- Platform/OS Version: All
A Server process is restarted and the application needs to determine whether the new Server IOR is the same as of the previous instance of the Server process. In this case, is doing string compare (strcmp) on the stringified IOR the same as calling _is_equivalent() ?
Resolution:
No, using strcmp() is not going to work if the Server process is restarted on a different port number. So, the actual IOR strings will be different and strcmp() will fail. Calling _is_equivalent() is a CORBA compliant way and this is recommended.
#VisiBroker
#Security




