<br>Hello,<br><br>Just wanted to know, typically, how would you handle a server with these methods:<br><blockquote><font face="courier new,monospace">start(Port) -> ...</font><font face="courier new,monospace"><br></font>
<font face="courier new,monospace">stop(Port) -> ...</font></blockquote>I've seen an astute programmer have the start/1 function create a thread and register it using the atom created by:<br><blockquote><font face="courier new,monospace">
list_to_atom("serverProcess_" ++ integer_to_list(Port)).</font><br></blockquote>  However I've also read that creating atoms like that is not good. Is there something more idiomatic?<br><br>I've also thought of using an ETS table that maps a port to a process. 
<br><br>In both cases, there's a look up time—but what is more efficient?<br><br>How would you do it?<br><br><br>Also, by the way, does anybody have a good link that introduces how to write applications that take advantage of several nodes? I know that Erlang handles this transparently, but what does transparent mean? 
<br><br><br>My Best Regards,<br><br>- Jérémie<br>