[Paraview] Handshake failed :: but I'm using exactly the same CVS

Ricardo Reis rreis at aero.ist.utl.pt
Sat Feb 28 06:37:35 EST 2009


On Fri, 27 Feb 2009, Utkarsh Ayachit wrote:

> Can you try adding
>
> cout << __LINE__ << endl;
>
> to every place where 0 is returned in
> vtkSocketCommunicator::ClientSideHandshake/vtkSocketCommunicator::ServerSideHandshake
> and then compile and send me the result?

Shall I replace the 0, add the line before the return or right after the 
0?

For instance, here:


   if(!this->SendTagged(&IAmBE, static_cast<int>(sizeof(char)),
       1, vtkSocketController::ENDIAN_TAG, 0))
     {
     if (this->ReportErrors)
       {
       vtkErrorMacro("Endian handshake failed.");
       }
     return 0;
     }

Shall it be like:

   if(!this->SendTagged(&IAmBE, static_cast<int>(sizeof(char)),
       1, vtkSocketController::ENDIAN_TAG, 0))
     {
     if (this->ReportErrors)
       {
       vtkErrorMacro("Endian handshake failed.");
       }

     cout << __LINE__ << endl;
     return 0;
     }

  ?



  Ricardo Reis

  'Non Serviam'

  PhD student @ Lasef
  Computational Fluid Dynamics, High Performance Computing, Turbulence
  http://www.lasef.ist.utl.pt

  &

  Cultural Instigator @ Rádio Zero
  http://www.radiozero.pt

  http://www.flickr.com/photos/rreis/


More information about the ParaView mailing list