QTfrontend/net/tcpBase.cpp
branchqmlfrontend
changeset 10402 3313336c1ee0
parent 10310 22f541fbde32
child 11071 3851ce4f2061
equal deleted inserted replaced
10401:c31276023295 10402:3313336c1ee0
   109     m_hasStarted(false),
   109     m_hasStarted(false),
   110     m_isDemoMode(demoMode),
   110     m_isDemoMode(demoMode),
   111     m_connected(false),
   111     m_connected(false),
   112     IPCSocket(0)
   112     IPCSocket(0)
   113 {
   113 {
   114     process = 0;
       
   115 
       
   116     if(!IPCServer)
   114     if(!IPCServer)
   117     {
   115     {
   118         IPCServer = new QTcpServer(0);
   116         IPCServer = new QTcpServer(0);
   119         IPCServer->setMaxPendingConnections(1);
   117         IPCServer->setMaxPendingConnections(1);
   120         if (!IPCServer->listen(QHostAddress::LocalHost))
   118         if (!IPCServer->listen(QHostAddress::LocalHost))