[erlang-questions] return list or send message back

Wes James <>
Mon Oct 17 23:09:23 CEST 2011


I'm trying to learn how message passing works so I have a function
that sends an "ls" message to another node and then when the other
node receives it since "ls" is one of the matches for that it then
runs a routine to list the files in a folder.  Should I build a list
and return the results or send a message back with the results.

thanks,

-wes



More information about the erlang-questions mailing list