Stomperlis an attempt to build something not-so-that-non-trivial (in this case, aStompserver) withErlang. To kick it off, I stole the server architecturefromhereandhere. Currently it doesn’teven support the fullprotocol: only CONNECT,SUBSCRIBE and SEND commands are supported. But anyway, it’s moving forward and I’m learning from it.
To make it run:
make test
, which hopefully succeeds.make start
, then you’ll get an Erlang console.- In the Erlang console,
tcp_server_sup:start_server().
- In another shell console,
make acceptance
, which hopefully succeeds.
I created an extremely simple acceptance test withGozirra.
What’s thenext? Well, I suppose I’llimplement the full protocol, and fix some defects. As a newbie to Erlang, I made and am makingstupid mistakes. Welcome to be stupid together with me.