Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix-wizards Subject: Re: Talk and "protocol not supported" Message-ID: <3033@umcp-cs.UUCP> Date: Wed, 20-Aug-86 13:02:33 EDT Article-I.D.: umcp-cs.3033 Posted: Wed Aug 20 13:02:33 1986 Date-Received: Thu, 21-Aug-86 01:48:43 EDT References: <3053@brl-smoke.ARPA> <6312@sun.uucp> Reply-To: chris@umcp-cs.UUCP (Chris Torek) Organization: University of Maryland, Dept. of Computer Sci. Lines: 22 In article <6312@sun.uucp> guy@sun.uucp (Guy Harris) writes: >Barry's right, [talk] is a crock. I hate to insult programs---it feels as though I am insulting the programmer, by impliciation---but Barry and Guy are right. >The only place in a standard 4.2BSD kernel (I presume yours is standard, >right?) that gives that error is the "socket" call, and it only gives that >error if no protocol of the type asked for exists. "talk" asks for a socket >of type SOCK_STREAM in address family AF_INET, and then for a socket of type >SOCK_DGRAM in the same address family. The only way that can fail is if you >haven't configured in Internet protocol support, ... This should indeed be the case, yet I have seen the very same error. There was no code path in the kernel that would have returned that error for any reasonable operation; and I could only conclude that talk (or talkd) was at fault yet again. After one look inside talk, I never pursued it further. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1516) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu