Google

# File jabber4r/protocol.rb, line 75

      def connect

        @socket = TCPSocket.new(@host, @port)

        @parser = Jabber::Protocol.Parser.new(@socket, self)

        @parserThread = Thread.new {@parser.parse}

        @pollThread = Thread.new {poll}

        @status = CONNECTED

      end