From owner-freebsd-questions Fri Nov 15 03:48:55 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA07940 for questions-outgoing; Fri, 15 Nov 1996 03:48:55 -0800 (PST) Received: from diablo.ppp.de (diablo.ppp.de [193.141.101.34]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA07894 for ; Fri, 15 Nov 1996 03:48:29 -0800 (PST) From: Greg Lehey Received: from freebie.lemis.de by diablo.ppp.de with smtp (Smail3.1.28.1 #1) id m0vOMNH-000QrzC; Fri, 15 Nov 96 12:23 MET Received: (grog@localhost) by freebie.lemis.de (8.8.2/8.6.12) id MAA00638; Fri, 15 Nov 1996 12:23:40 +0100 (MET) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Message-Id: <199611151123.MAA00638@freebie.lemis.de> Subject: Re: SOCKETS v/s TLI In-Reply-To: <199611130512.AAA11324@morticia.cc.gatech.edu> from Sunil Upendra Khaunte at "Nov 13, 96 00:12:01 am" To: sunil@cc.gatech.edu (Sunil Upendra Khaunte) Date: Fri, 15 Nov 1996 12:23:40 +0100 (MET) Cc: questions@FreeBSD.org (FreeBSD Questions) X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Sunil Upendra Khaunte writes: > > Can anyone inform me on the major differences and similarities > between the Sockets i/f of BSD UNIX and AT&Ts TLI interface? This line was 124 characters long, so I've taken the liberty of reformatting it as a paragraph. Please try to keep line lengths down below 80 characters. Probably your best source of information on this is Steven's "UNIX Network Programming" (Prentice-Hall), which goes into some detail on both. > Is there any situation wherein TLI would be a better choice over Sockets?? Depends on who you ask :-) Seriously, it makes more sense on newer System V systems, since sockets are just an emulation library on top of STREAMS. I think TLI's a pain to program, though. Greg