Skip to content
josemic edited this page Feb 5, 2013 · 2 revisions

change to working directory to cd efficientmq

e.g. cd ./efficientmq

erlc -o ./examples/ebin/ ./examples/src/*.erl

erlc -o ./tcp_connection/ebin/ ./tcp_connection/src/*.erl

start the examples:

Open first Erlang console:

erl -pa ./tcp_connection/ebin/ -pa ./examples/ebin/

In first console execute:

example1:s1().

Open second Erlang console:

erl -pa ./tcp_connection/ebin/ -pa ./examples/ebin/

In second console execute: example1:s2().

Similar for the other examples. Sometines 3 consoles have to be opend.

Clone this wiki locally