# File lib/bunny/client08.rb, line 386
                def start_session
                        @connecting = true
                        
      loop do
                                # Create/get socket
                                socket
                                
                                # Initiate connection
                                init_connection

                                # Open connection
                                break if open_connection == :ok
      end

                        # Open another channel because channel zero is used for specific purposes
                        c = create_channel()
                        c.open
                        
                        # Get access ticket
                        request_access

                        @connecting = false
                        
                        # return status
                        @status = :connected
    end