Benchmark TCP Connect/Close

I'm writing a TCP server in node.js and would like to benchmark the connection/close response time. Sort of like an Apache Benchmark for my TCP server.

After much investigation, the best I've been able to come up with is netperf. So I run the following:

$ netperf -H localhost -p 8000 -t TCP_CC
TCP Connect/Close TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to localhost (127.0.0.1) port 0 AF_INET : demo
recv_response: partial response received: 0 bytes

So I tried writing data which gives me the following:

TCP Connect/Close TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to localhost (127.0.0.1) port 0 AF_INET : demo
Unknown error 825307441

Can anyone help me understand what I'm doing wrong, or even if this is an applicable test?

For the sake of completeness here's the minimal server I've been testing this against:

var net = require('net')
var server = net.createServer(function(c) {
  c.write('small string');
  c.end();
});

console.log('pid ' + process.pid);
server.listen(8000, function() {
  console.log('Server bound to 8000');
});