This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
accept() fails in service, succeeds in standalone app
- To: cygwin at sourceware dot cygnus dot com
- Subject: accept() fails in service, succeeds in standalone app
- From: "Markus Hoenicka" <Markus dot Hoenicka at uth dot tmc dot edu>
- Date: Mon, 7 Aug 2000 19:40:08 +0000 (CT0)
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.Hoenicka@uth.tmc.edu
http://ourworld.compuserve.com/homepages/hoenicka_markus/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com