Error after icessl configuration

An error is reported after ice SSL is configured: /usr/local/ICE-3.7.x/include/IceUtil/Handle.h:46:
When I used the helloworld program to test, there was no error. Then , I reported the above error when I configured ICESSL into the project. I want to know what causes this error.
Best Answers
-
xdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
Hi Zhou,
There isn't enough information there to know what the problem is, can you provide the complete output from both the client and server programs and the respective configuration files?
Are you using the C++ hello demo from https://github.com/zeroc-ice/ice-demos/tree/3.7/cpp11/Ice/hello, if you modified the sources for your test can you tell us what changes did you make?
Cheers,
Jose0 -
J_X_Z Member zhouOrganization: PersonalProject: communication ✭
Hi Jose,
I found the cause of the error, because the code of my project used:
Ice::TCPEndpointInfoPtr t = Ice::TCPEndpointInfoPtr::dynamicCast(in1);
IpPort ipPort;
ipPort.ip = t->host; //odd !
Thanks,
Zhou0
Answers
ICE version 3.7.1
Hi Zhou,
There isn't enough information there to know what the problem is, can you provide the complete output from both the client and server programs and the respective configuration files?
Are you using the C++ hello demo from https://github.com/zeroc-ice/ice-demos/tree/3.7/cpp11/Ice/hello, if you modified the sources for your test can you tell us what changes did you make?
Cheers,
Jose
Hi Jose,
I found the cause of the error, because the code of my project used:
Ice::TCPEndpointInfoPtr t = Ice::TCPEndpointInfoPtr::dynamicCast(in1);
IpPort ipPort;
ipPort.ip = t->host; //odd !
Thanks,
Zhou