title: R socketConnection/make.socket(): any way to keep listen()ing?
body: <p>[Disclaimer: my knowledge of sockets is very rusty, and I'm just getting into R, so if I missed something completely obvious, please point it out!]</p>
  
  <p>If I understand the (sparsely-documented) R functions for creating and managing sockets, namely <code>socketConnection</code> and <code>make.socket</code>, it appears that when creating a server socket (<code>server=TRUE</code>), the moral equivalent of the following is carried out:</p>
  
  <pre><code>s = socket(yada yada);
  listen(s, ...);
  s2 = accept(s, ...);
  close(s, ...);
  </code></pre>
  
  <p>and now I can work with <code>s2</code> but can't loop to deal with a backlog of incoming connections to <code>s</code>. Is this more-or-less right? Is there any way to keep listening and continue to deal with additional incoming connections after handling the first?</p>