<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>

<style type="text/css">p, li { white-space: pre-wrap; }</style>When I try to connect my client to a pvserver and this one is not launched I have this message :<br><br>
<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Monospace'; font-size: 9pt; color: rgb(200, 0, 0);">Warning: In /data/wertz/paraview-source/Servers/Common/vtkProcessModuleConnectionManager.cxx, line 299</span></p>

<p style="margin: 0px; text-indent: 0px;"><span style="font-family: 'Monospace'; font-size: 9pt; color: rgb(200, 0, 0);">vtkProcessModuleConnectionManager (0x2a84d10): Connect failed.  Retrying for 53.8997 more seconds.</span></p><br>How do I set timeout to 1 second ?<br>How do I catch those warning without showing "Output Messages" window and from which element/class/manager does it depend ?<br><br>When I launch pvserver and connect on it with a client, when I try with a second one I get timeout (because pvserver is not multi-client ), how do I get if the server is not launched or if a client is already connected ?<br><br>Thanks.<br><br>Code :<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QString host = "cs://";<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host += given_host;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host += ":";<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; host += port;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(m_server)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //if any remote or builtin server, delete them to free ressources<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_object_builder-&gt;removeServer(m_server);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //create new remote server<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_server = m_object_builder-&gt;createServer(pqServerResource(host)); //here timeout of 60s blocking thread<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //if the server is remote then :<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(m_server &amp;&amp; m_server-&gt;isRemote()){<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br><hr size="2" width="100%"><blockquote><blockquote><b>Wertz Gil</b><br></blockquote><i>gilwertz@hotmail.com</i><br></blockquote><hr size="2" width="100%"><br><br>                                               </body>
</html>