This is the mail archive of the
mailing list for the Cygwin project.
Re: accept doesn't block while running as NT service
- From: linamat at moldtelecom dot md
- To: cygwin at cygwin dot com
- Date: Fri, 22 Aug 2003 11:24:50 +0300 (EEST)
- Subject: Re: accept doesn't block while running as NT service
As Corinna said "debugging could help" and she was right.
One of my functions closed file descriptors 0 and 1 after successfull
listen() call. Socket fd is 0 in my case. And so accept()'s errno was EBADF.
Now my service is working.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html