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

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Sat Feb 28 09:47:18 EST 2009


Add the line before the returns as you have shown.

Thanks,
Utkarsh

On Sat, Feb 28, 2009 at 6:37 AM, Ricardo Reis <rreis at aero.ist.utl.pt> wrote:
> 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