From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5302036b5e864aaa7241e70547b87609@collyer.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] [OT] domain socket support in open(2) on unix From: Geoff Collyer In-Reply-To: <20030520220305.GA28447@wilbur.25thandClement.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Tue, 20 May 2003 15:55:46 -0700 Topicbox-Message-UUID: b4b51188-eacb-11e9-9e20-41e7f4b1d025 It seems obvious that it should be possible to open existing Unix-domain sockets like any other file. They appear in the file-system namespace, after all. Other systems call them named pipes or mounted streams. It should be a trivial change to creat to create Unix-domain sockets. Of course, the whole range of socket-related system calls could be replaced with /net, dial and cs, and this would eliminate arcane and often buggy socket code from ordinary programs, allowing them to adapt without recompilation to, for example, IP V6.