Fork me on GitHub

I spent quite a while this weekend trying to replicate the aleph.tcp echo example with a different protocol and failing miserably. It was my first attempt at a server in Clojure, so I initially assumed I was doing something wrong with aleph or manifold, but finally tracked it down to a reflection/type-hinting issue with Gloss. Since it's archived, I forked it to make a git dependency I could use. In case it's useful to anyone else it's available here: The only changes are a handful of type hints, updated the dependencies to the latest versions, and converted from lein to deps/


the specific issue I was having was that the Gloss codec would decode buf sequences but not the same data as a single contiguous buffer