delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/07/17:17:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.2.7.2.20000807161422.02ef5bc0@mail.prefres.com>
X-Sender: "Mminnis" <mminnis AT prefres DOT com>
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Mon, 07 Aug 2000 16:15:45 -0500
To: "Markus Hoenicka" <Markus DOT Hoenicka AT uth DOT tmc DOT edu>,
cygwin AT sourceware DOT cygnus DOT com
From: "Matt Minnis" <mminnis AT prefres DOT com>
Subject: Re: accept() fails in service, succeeds in standalone app
In-Reply-To: <14735.7163.687000.350245@gargle.gargle.HOWL>
References: <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20000807144143 DOT 021f5e10 AT mail DOT prefres DOT com>
<14735 DOT 4248 DOT 34000 DOT 907433 AT gargle DOT gargle DOT HOWL>
<4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20000807144143 DOT 021f5e10 AT mail DOT prefres DOT com>
Mime-Version: 1.0
X-SLUIDL: CF1FFD25-6C7B11D4-B71B0080-C813F968

Actually, this may still be the same problem.
It may just be the difference in the way 9x and NT handle things.

Thanks,

Matt

At 08:28 PM 8/7/2000 +0000, Markus Hoenicka wrote:
>Hi,
>this sounds like a different problem to me. In my case, accept doesn't
>wait but returns immediately with errno 14. This lets the log file
>grow to 1MB in a matter of seconds if I log every attempted
>connection.
>Markus
>
>Matt Minnis writes:
>  > I ran into this same issue.
>  >
>  > The accept() call waits for input of some sort.
>  >
>  > I have a program that opens a Telnet server session and then gets 
> stuck at
>  > the accept() call.
>  > If I telnet to it, it will then continue.
>  >
>  > Kinda anoying.
>  >
>  > I am on Win2000, running Cygwin 1.13
>  >
>  > Thanks,
>  >
>  > Matt
>  >
>  >
>  > At 07:40 PM 8/7/2000 +0000, Markus Hoenicka wrote:
>  > >Hi all,
>  > >
>  > >I came across this weird problem in my first attempt whatsoever to run
>  > >some homegrown code as a WinNT4 service. The app is a simple server
>  > >that handles client requests with the bind/listen/select/accept
>  > >functions. This runs all fine and handles client requests nicely as
>  > >long as I run this as a standalone application. I can install this
>  > >application as a service using invkr153.zip (http://www.idetix.com)
>  > >and it starts without problems. But when I try to connect to the server
>  > >(now running as a service), accept fails with errno 14 (bad address).
>  > >
>  > >Has anyone else seen this? Is this a Cygwin issue or a NT issue? Are
>  > >there specific requirements for Cygwin apps to run successfully as a
>  > >service?
>  > >
>  > >I'm running B20.1 on WinNT4 SP 5.
>  > >
>  > >Any help is greatly appreciated.
>  > >
>  > >Markus
>  > >
>  > >--
>  > >Markus Hoenicka, PhD
>  > >UT Houston Medical School
>  > >Dept. of Integrative Biology and Pharmacology
>  > >6431 Fannin MSB4.114
>  > >Houston, TX 77030
>  > >(713) 500-6313, -7477
>  > >(713) 500-7444 (fax)
>  > >Markus DOT Hoenicka AT uth DOT tmc DOT edu
>  > >http://ourworld.compuserve.com/homepages/hoenicka_markus/
>  > >
>  > >
>  > >--
>  > >Want to unsubscribe from this list?
>  > >Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>  >
>  > Cthulhu for President. Why settle for a lesser evil?
>  >
>  > =========================================================
>  > Preferred Resources          (314) 567-7600 phone
>  > 701 Emerson rd.              (314) 993-6699 fax
>  > Suite 475                   mminnis AT prefres DOT com
>  > St. Louis, MO
>  > 63141
>  > =========================================================
>  >
>  >
>  > --
>  > Want to unsubscribe from this list?
>  > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>  >
>
>--
>Markus Hoenicka, PhD
>UT Houston Medical School
>Dept. of Integrative Biology and Pharmacology
>6431 Fannin MSB4.114
>Houston, TX 77030
>(713) 500-6313, -7477
>(713) 500-7444 (fax)
>Markus DOT Hoenicka AT uth DOT tmc DOT edu
>http://ourworld.compuserve.com/homepages/hoenicka_markus/
>
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

Cthulhu for President. Why settle for a lesser evil?

=========================================================
Preferred Resources          (314) 567-7600 phone
701 Emerson rd.              (314) 993-6699 fax
Suite 475		       mminnis AT prefres DOT com
St. Louis, MO
63141
=========================================================


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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