From owner-freebsd-hackers Mon Apr 1 20:12:09 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA02342 for hackers-outgoing; Mon, 1 Apr 1996 20:12:09 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id UAA02312 for ; Mon, 1 Apr 1996 20:12:04 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id OAA10762; Tue, 2 Apr 1996 14:03:16 +0930 From: Michael Smith Message-Id: <199604020433.OAA10762@genesis.atrad.adelaide.edu.au> Subject: Re: How to write a socketpair(2)? To: mikee@sys8.wfc.com (Mike Eggleston) Date: Tue, 2 Apr 1996 14:03:16 +0930 (CST) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <9604011359.AA29991@sys8.wfc.com> from "Mike Eggleston" at Apr 1, 96 07:59:18 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Mike Eggleston stands accused of saying: > > I'm stuck on sco at work and want to use amanda as the backup > software. The problem is that I need to have socketpair(2) on the > server side to talk to the drivers and tapers, etc. How to I write > the equivalent of socketpair(2)? I don't have unix domain sockets and > I haven't been able to get it to work right. use pipe(2); see Stevens APUE ch15. > mike -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[