delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/07/04/05:52:14

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Thu, 4 Jul 2002 11:52:07 +0200
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: access port 127.0.0.1:1052 (cygserver question) <PLEASE REPLY TO THIS ONE>
Message-ID: <20020704115207.O21857@cygbert.vinschen.de>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <20020704052424 DOT GA15450 AT redhat DOT com> <00e601c2232d$a7c5be10$2300a8c0 AT LAPTOP> <010001c2233f$75231360$6132bc3e AT BABEL>
Mime-Version: 1.0
In-Reply-To: <010001c2233f$75231360$6132bc3e@BABEL>
User-Agent: Mutt/1.3.22.1i

On Thu, Jul 04, 2002 at 10:44:54AM +0100, Conrad Scott wrote:
> In Un*x, are socket files persistent in this way? Or do they disappear
> on last close?  I can't see anything unambiguous about this in the
> documentation I've got to hand.  (I've never programmed with them in

AFAIK, they disappear after they have been closed by all apps.
I'm wondering if we should create these unix domain socket files
with the appropriate FILE_FLAG_DELETE_ON_CLOSE flag.  This would
require to rearrange Egor's socket code to use CreateFile() instead
of _open()...

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019