Date: Sat, 7 Feb 1998 08:56:02 -0500 (EST) From: "David E. Cross" <dec@phoenix.its.rpi.edu> To: Adrian Chadd <adrian@obiwan.creative.net.au> Cc: rssh@grad.kiev.ua, freebsd-hackers@FreeBSD.ORG Subject: Re: byte ordering and talk? Message-ID: <Pine.BSF.3.96.980207085318.7683A-100000@phoenix.its.rpi.edu> In-Reply-To: <Pine.BSF.3.95q.980207213453.11050B-100000@obiwan.creative.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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? > 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.) -- David Cross UNIX Systems Administrator GE Corporate R&D
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980207085318.7683A-100000>