Greetings, I post this to .misc since some other (than ttcp) programs might not work in recent versions of OBSD.
In OBSD 5.6 I am able to run ttcp. $ uname -a OpenBSD pez.etale.com.ar 5.6 GENERIC.MP#333 amd64 $ ttcp -r -s ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp ttcp-r: socket In OBSD 5.9 and 6.0 I am not able to run it (sadly I do not have running machines with 5.7 nor 5.8). $ uname -a OpenBSD bsd002.vmn.etale.com.ar 6.0 GENERIC.MP#1917 i386 $ ttcp -r -s ttcp-r: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp ttcp-r: socket ttcp-r: bind: Address family not supported by protocol family errno=47 Looking at the code in ttcp.c the problem seems to be that the field sin_family in the structure sockaddr_in (sinme) is not initialized. By adding sinme.sin_family = AF_INET; before bind(...) the program works fine. Cheers --- HLG