33 @type str |
33 @type str |
34 @param port port of the background service |
34 @param port port of the background service |
35 @type int |
35 @type int |
36 @param idString assigned client id to be sent back to the server in |
36 @param idString assigned client id to be sent back to the server in |
37 order to identify the connection |
37 order to identify the connection |
38 @param str |
38 @type str |
39 """ |
39 """ |
40 self.__exitClient = False |
40 self.__exitClient = False |
41 self.__connection = socket.create_connection((host, port)) |
41 self.__connection = socket.create_connection((host, port)) |
42 if idString: |
42 if idString: |
43 reply = idString + '\n' |
43 reply = idString + '\n' |