delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/19/12:18:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Envelope-To: cygwin AT cygwin DOT com
Message-ID: <1753.212.0.200.22.1061309825.mtc@mail.moldtelecom.md>
In-Reply-To: <200308191332.h7JDWVKF026466@bevo.che.wisc.edu>
References: <1683 DOT 212 DOT 0 DOT 200 DOT 22 DOT 1061299847 DOT mtc AT mail DOT moldtelecom DOT md>
<200308191332 DOT h7JDWVKF026466 AT bevo DOT che DOT wisc DOT edu>
Date: Tue, 19 Aug 2003 19:17:05 +0300 (EEST)
Subject: Re: accept() doesn't block while running as NT service
From: linamat AT moldtelecom DOT md
To: cygwin AT cygwin DOT com
User-Agent: Moldtelecom Mail System
MIME-Version: 1.0
X-Priority: 3
Importance: Normal

The problem exists under Win2k sp4, cygwin-1.3.22 and cygwin-1.5.2.

Anyhow an explanation would be much appreciated.

I've read cygrunsrv last version and inetd sources, but couldn't find any
error in my code.

Some parameters from CreateService() which I used:
SERVICE_WIN32_OWN_PROCESS
".\\LocalSystem" or NULL served as lpServiceStartName

I also could post all service source.
Does exist any difference for Cygwin call accept() in such case between
executing in a process token level and in user space?

An interesting thing: the TCP port is not even binded, while listen
returns 0.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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