Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!rutgers!netsys!vector!rpp386!jfh From: jfh@rpp386.Dallas.TX.US (John F. Haugh II) Newsgroups: comp.unix.wizards Subject: Re: is this wise? Summary: Sure, looks like a wonderful idea. Message-ID: <16437@rpp386.Dallas.TX.US> Date: 5 May 89 02:25:17 GMT References: <378@chessene.UUCP> <53756@uunet.UU.NET> Reply-To: jfh@rpp386.Dallas.TX.US (John F. Haugh II) Organization: River Parishes Programming, Dallas TX Lines: 21 In article <53756@uunet.UU.NET> rick@uunet.UU.NET (Rick Adams) writes: >> f = fopen("/dev/hosts/uunet.uu.net/tcp/79", "r+"); >> There. Isn't that much nicer than sockets? > >Why not: > f = tcp_open("uunet.uu.net", "finger", "r+w"): Because you could point to that file with a symbolic link and give it a more worthwhile name and have other programs have other uses for it. >That way the underlying structure doesn't matter. You can have >sockets, tli, streams, your filesytem like layout. But you have to have your mystery tcp_open() call. What's wrong with the open() call we have already? -- John F. Haugh II +-Salad of the Week:------------------- VoiceNet: (214) 250-3311 Data: -6272 | "Bring me a head of Romain lettuce" InterNet: jfh@rpp386.Dallas.TX.US | [ not said by ] -- Richard Sexton UucpNet : !killer!rpp386!jfh +--------------------------------------