示例#1
0
 def _connect(self):
     """ Connects our client socket to the backend socket """
     if self is None:
         return
     comm('connecting to 127.0.0.1:%d', self._port)
     address = QtNetwork.QHostAddress('127.0.0.1')
     self.connectToHost(address, self._port)
示例#2
0
 def _connect(self):
     """ Connects our client socket to the backend socket """
     if self is None:
         return
     comm('connecting to 127.0.0.1:%d', self._port)
     address = QtNetwork.QHostAddress('127.0.0.1')
     self.connectToHost(address, self._port)
     if sys.platform == 'darwin':
         self.waitForConnected()
示例#3
0
 def _connect(self):
     """ Connects our client socket to the backend socket """
     _logger().debug('connecting to 127.0.0.1:%d', self._port)
     address = QtNetwork.QHostAddress('127.0.0.1')
     self.connectToHost(address, self._port)