jstp / node-jstp

JSTP implementation in Node.js
2 stars 2 forks source link

Pass already initialized TCP Socker server to JSTP #13

Closed xaviervia closed 10 years ago

xaviervia commented 11 years ago

Applications may want to the TCP server or to provide an already initialized one. While this is unlinke, the node-jstp API should provide the option for completion.

var server = require('net').createServer();

jstp.listen({
  tcp: server
});
xaviervia commented 10 years ago

Discussed in the node-jstp-networking issue tracker.