Archived

This forum has been archived. Please start a new discussion on GitHub.

Error after icessl configuration

J_X_Z
edited February 2021 in Help Center

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.

Comments

  • ICE version 3.7.1

  • xdm
    xdm La Coruña, Spain

    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