We recently moved to RCF 2.0.
On connecting to a server running on 32 bit process from a 64 bit process, I am running into an exception:
Code: Select all
[17: Unexpected peer disconnection.][0: No sub system.][0: ][What: ][Context: c:\build_tools\packages\rcf-2.0.0.2679\src\rcf\ConnectionOrientedClientTransport.cpp:277
Code: Select all
client.reset( new RcfClient<I_Service>( RCF::TcpEndpoint(127.0.0.1, nPort) ) ) ;
const int RPC_TIMEOUT = nTimeout * 1000 ;
const int CONNECT_TIMEOUT = nConnectTimeOut * 1000 ;
client->getClientStub().setRemoteCallTimeoutMs( 90);
client->getClientStub().setConnectTimeoutMs( 15 ) ;
client->getClientStub().getTransport().setMaxMessageLength(1024*1024) ;
client->FunctionCall(Arg1, Arg2);
What can be causing this issue ?