def new_connection(self, username):
self.connection_count += <NUM_LIT:1><EOL>try:<EOL><INDENT>self.user_connect[username] += <NUM_LIT:1><EOL><DEDENT>except:<EOL><INDENT>self.user_connect[username] = <NUM_LIT:1><EOL><DEDENT>return self.connection_count, self.user_connect[username]<EOL>
Register a new connection by username, return the count of connections.