Subject: Re: ytalk - bad address, family 0
To: Charlie Root <root@hotdog.ping.apana.org.au>
From: Andrew Wheadon <andrew@wipux2.wifo.uni-mannheim.de>
List: netbsd-help
Date: 04/07/1996 12:47:56
> I tried to compiled compiled the ytalk-3.1 client cleanly. But when I try
> to run it I get the following print-out:
> 
> Apr  6 12:19:17 hotdog talkd[470]: Bad address, family 0
> Apr  6 12:19:17 hotdog talkd[470]: sendto: Address family not support by protoc family
> Any idea what to look for?

I first saw this when some idiot asked me how to compile a
program for messing with other peoples irc-screen-state, using
talk and a messy name. I banned the user but still took a look,
and the same problem occured later in ytalk-3.0, though this
time someone else had allready patched a source so I used that.

It had something to do with different usage of sin_family in
sockaddr_in (netinet/in.h)
and not useing htons in socket.c and messing with sin_family
in the function s_in_assign.

Anyway take a peak at the src of ytalk-3.0 and compare you'll
find it in ~ftp/pub/NetBSD/ports/src/ytalk*
on wipux2.wifo.uni-mannheim.de.

btw. I didn't make the port and you have to define __386BSD__
cos' it's old :-)
Cheerio
	Andrew
-- 
The cost of living hasn't affected it's popularity. (unknown)
current	release=doc host=wipux2.wifo.uni-mannheim.de \ "NetBSD-current mirror"
hostbase=/mit/ftp/pub/NetBSD base=/usr prefix=/usr backup delete use-rel-suffix