This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: access port 127.0.0.1:1052 (cygserver question) <PLEASE REPLY TO THIS ONE>


On Thu, Jul 04, 2002 at 11:02:20AM +0100, Conrad Scott wrote:
> "Corinna Vinschen" <vinschen@redhat.com> wrote:
> > 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()...
> 
> Couldn't that code just immediately unlink the file and let the cygwin
> pending delete system handle it?

Isn't that just going out of the way of rewriting some code in a
better way?  Just calling unlink() is somewhat ugly, isn't it?

Corinna

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]