fix client

This commit is contained in:
erylee 2012-12-20 16:44:57 +08:00
parent a77bbf33e2
commit cc67e10e69
3 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
all: compile
run: compile
erl -pa ebin -config etc/emqtt.config -s emqtt_app start
erl -pa ebin -pa lib/rabbitlib/ebin -config etc/emqtt.config -s emqtt_app start
compile: deps
rebar compile

1
TODO
View File

@ -1 +1,2 @@
1. Topic Trie
2. MQTT frame parse

View File

@ -24,6 +24,7 @@ init([]) ->
handle_call({go, Sock}, _From, State) ->
error_logger:info_msg("go.... sock: ~p", [Sock]),
inet:setopts(Sock, [{active, true}]),
{reply, ok, State}.
handle_cast(Msg, State) ->