A min-stream tcp interface for js-git and node.js
This module implements the following functions from the tcp interface.
createServer(port, [host]) -> source<socket>
connect(port, [host]) -> continuable<socket>
Here is an example creating a TCP echo server that accepts only the first client to connect.
var tcp = ;// Create a tcp server listening at localhost port 8080// server is a min-stream source that emits sockets as clients connect.var server = tcp;// Wait for the first client to connect.;