                         s.listener.setOffset(i)
                         s.offset = s.listener._playHead
                     else
+                        # just set it on the socket.  we'll use it when they connect
                         s.offset = s.rewind.checkOffset i
                 
                     fn?(s.offset / s.rewind.framesPerSec)                        

                    rewind:     v.rewind
                    socket:     sock
                    listener:   null
                    offset:     0
                }
                
                # add offset listener

        requrl = url.parse(req.url,true)
        
        if requrl.query.socket? && sess = @sessions[requrl.query.socket]
            listen = new Sockets.Listener sess,req,res,sess.rewind,sess.offset
            sess.listener = listen
            console.log "wired listener to session #{sess.id}"

    #----------
        
    class @Listener
        constructor: (session,req,res,rewind,offset=1) ->
            @req = req
            @res = res
            @rewind = rewind

            # set our internal offset to be live by default
            @_offset = offset
            @_playHead = 1
            
            console.log "req is ", req.headers
