title: Transfer UDP socket in node.js from Application to HTTP
body: <p>Is it possible to transfer a Socket coming from a application to http via NodeJS?</p>
  
  <p>I send my socket with a application (in c++) in UDP or TCP(if impossible in UDP...) to NodeJS.</p>
  
  <p>My script from NodeJS:</p>
  
  <pre><code>var server = dgram.createSocket("udp4"); 
  server.on("message", function (content, rinfo) 
  { 
     console.log("socket: " + content + " from " + rinfo.address + ":" + rinfo.port); }); 
     server.on("listening", function () { 
  }); 
  server.bind(7788);
  </code></pre>
  
  <p>Up to now does that function, but then how to transfer my socket to Socket.io for example?</p>
  
  <p>I would like to send the socket to Socket.io (for example) for transfer the socket to HTTP. By using a function like this for example, but without renew a establishing a connection to socket.io :</p>
  
  <pre><code>io.sockets.on('connection', function (socket) { 
      socket.emit(content);
  });
  </code></pre>
  
  <p>Thanks you for your help.</p>
  
  <p>++ Metra.</p>