Subject: nttcp
To: None <netbsd-help@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-help
Date: 03/09/2007 19:12:48
I am trying to use nttcp (from pkgsrc) on a couple of -current/i386
boxes, and am stumped at the first hurdle:

cordierite# nttcp -v -i
nttcp-l: nttcp, version 1.47
nttcp-l: running in inetd mode on port 5037 - ignoring options beside -v and -p
[after command on quartz:]
nttcp-l: forked child (pid=10200) on socket-fd=fd=4 after 0 retries

quartz# nttcp -v cordierite
nttcp-l: nttcp, version 1.47
nttcp-l: Pid=17057
nttcp-l: from cordierite: "192.168.200.19" (=nttcp-0: setsockopt-linger: Nu)
nttcp-l: couldn't get dataport from receiving side "cordierite" (=192.168.200.19)

cordierite# netstat | grep 5037
tcp        0      0  cordierite.itdep.5037  quartz.itdept.ne.60771 TIME_WAIT
tcp        0      0  *.5037                 *.*                    LISTEN

They can each ping / ssh each other, and are on the same subnet. The
syntax isn't more complicated than that, is it?

Cheers,

Patrick