From owner-freebsd-hackers Sat Feb 7 06:20:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA12153 for hackers-outgoing; Sat, 7 Feb 1998 06:20:20 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA12148 for ; Sat, 7 Feb 1998 06:20:16 -0800 (PST) (envelope-from karpen@ocean.campus.luth.se) Received: (from karpen@localhost) by ocean.campus.luth.se (8.8.8/8.8.8) id PAA04586; Sat, 7 Feb 1998 15:16:22 +0100 (CET) (envelope-from karpen) From: Mikael Karpberg Message-Id: <199802071416.PAA04586@ocean.campus.luth.se> Subject: Re: byte ordering and talk? In-Reply-To: from "David E. Cross" at "Feb 7, 98 08:56:02 am" To: dec@phoenix.its.rpi.edu (David E. Cross) Date: Sat, 7 Feb 1998 15:16:22 +0100 (CET) Cc: adrian@obiwan.creative.net.au, rssh@grad.kiev.ua, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" According to David E. Cross: > On Sat, 7 Feb 1998, Adrian Chadd wrote: > > > On Fri, 6 Feb 1998, Ruslan Shevchenko wrote: > > > > > > > (One little problem --- FreeBSD talk not work with machines with another > > > byte-order > > > in word, so if you need talk with Sun, better get ytalk from ports) > > > > > > > Huh? > > Is this a protocol-specific thing with talk protocol or just our talk > > implementation? It's just SUN's talk implementation. ;-) > No, the byte order is fixed in the specification (ntohs, nothl anyone). > the problem that you are refferning to is either of 2 problems: > > 1: slightly different struct sockaddr_in structres (some have a 'lenght' > field (AIX), others do not (FreeBSD) > > 2: ntalk/talk there are 2 differnt talk protocols, everyone uses one > (can't remember), sun uses the other. (check /etc/inetd.conf and > /etc/services, they bind to different ports.) Everyone uses ntalk, except for SUN. So go install ntalk on the SUN machines, and you'll be fine. /Mikael