#NEWLINE# def _connect( self ) : #NEWLINE# #INDENT# ' Connects our client socket to the backend socket ' #NEWLINE# if ( self is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# comm ( 'connecting to 127.0.0.1:%d' , self . _port ) #NEWLINE# address = QtNetwork . QHostAddress ( '127.0.0.1' ) #NEWLINE# self . connectToHost ( address , self . _port )