Skip to content
Snippets Groups Projects
Commit 8cebb154 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

use sockets:// instead of tcp://

sockets is expected to work on linux/mac, unlike tcp:// which only works
on linux right now.
parent c9038897
No related branches found
No related tags found
No related merge requests found
......@@ -338,7 +338,7 @@ vtkSmartPointer<vtkPVApplicationOptions> vtkPVCoreApplication::CreateOptions() c
//----------------------------------------------------------------------------
std::string vtkPVCoreApplication::GetEngineURL() const
{
return "tcp://";
return "sockets://";
}
//-----------------------------------------------------------------------------
......
......@@ -78,8 +78,7 @@ std::string vtkPVServerApplication::GetEngineURL() const
{
auto* options = this->GetOptions();
// FIXME: this doesn't work as expected.
// return fmt::format("tcp://{}:{}", options->GetLocalHostname(), options->GetPort());
return this->Superclass::GetEngineURL();
return fmt::format("sockets://{}:{}", options->GetLocalHostname(), options->GetPort());
}
//----------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment