0.3.4 • Published 10 years ago

node-cat v0.3.4

Weekly downloads
44
License
-
Repository
github
Last release
10 years ago

#node-cat: netcat clone written with node.js A netcat clone written to replace the built-in Windows telnet client. The nodejs TCP echo server example didn't work right because telnet sent each character. node-cat sends the text by line. ##Usage

$ node-cat <host> <port>

Install

npm install node-cat

##Example Using the nodejs TCP echo server example.

$ node-cat localhost 8080
Hello World!
Hello World!

^C
ending session
$

##Advanced Usage node-cat can be embeded in any node program.

var nc = require("node-cat");

var client = nc.createClient(host, port);

client.start(
function(client /* the tcp client returned by net.connect */, rl /* readline instance */, stdin, stdout){
	client.write("STATUS: None of your business");
	stdout.write("Sent status.");
});
0.3.4

10 years ago

0.3.3

11 years ago

0.3.2

11 years ago

0.3.1

11 years ago

0.3.0

11 years ago

0.2.1

11 years ago

0.1.3

11 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago