| delorie.com/archives/browse.cgi | search |
| 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: | <2997.212.0.200.22.1061540690.mtc@mail.moldtelecom.md> |
| Date: | Fri, 22 Aug 2003 11:24:50 +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 |
| Note-from-DJ: | This may be spam |
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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |