[erlang-questions] sending message to more than one node

43 views
Skip to first unread message

Wes James

unread,
Oct 2, 2012, 10:51:00 AM10/2/12
to erlang-q...@erlang.org
With {process_name, node@host} ! <<"message">> I can send a message to one node.  What if I want to send to more than one node?  Do I make a list of nodes and then loop through that list and send a message to each?

Thanks,

wes

Dmitry Kolesnikov

unread,
Oct 2, 2012, 10:54:42 AM10/2/12
to Wes James, erlang-q...@erlang.org
Hi,

rpc:multi_server_call
http://erldocs.com/R14B02/kernel/rpc.html?i=22&search=rpc#multi_server_call/2


- Dmitry
> _______________________________________________
> erlang-questions mailing list
> erlang-q...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Wes James

unread,
Oct 2, 2012, 10:57:27 AM10/2/12
to Dmitry Kolesnikov, erlang-q...@erlang.org
ok thanks, I'll take a look.

Wes
Reply all
Reply to author
Forward
0 new messages