We use a client server model:
factorial_client - factorial_server(gen_server) - factorial_logic
Full code:
https://github.com/PureIso/ErlangCodes
Watch video 16 Erlang - Distributed Programs - gen_server online without registration, duration hours minute second in high quality. This video was added by user UXLearner 04 May 2013, don't forget to share it with your friends and acquaintances, it has been viewed on our site 14,703 once and liked it 84 people.