public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: linamat@moldtelecom.md
To: cygwin@cygwin.com
Subject: Re: accept doesn't block while running as NT service
Date: Fri, 22 Aug 2003 09:03:00 -0000	[thread overview]
Message-ID: <2997.212.0.200.22.1061540690.mtc@mail.moldtelecom.md> (raw)

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/

             reply	other threads:[~2003-08-22  8:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-22  9:03 linamat [this message]
2003-08-22 10:43 ` proftpd Mauri
2003-08-22 17:01   ` proftpd Eduardo Osorio Armenta
2003-08-22 17:48   ` proftpd Hannu E K Nevalainen (garbage mail)
2003-09-01  6:56     ` Re[2]: proftpd Mauri
2003-09-01 15:42       ` Hannu E K Nevalainen (garbage mail)
2003-08-22 19:40   ` proftpd GDN_Cygwin
2003-08-24 22:23   ` proftpd Jason Tishler
  -- strict thread matches above, loose matches on Subject: below --
2003-08-20 17:32 accept doesn't block while running as NT service linamat
2003-08-19 13:42 accept() " linamat
2003-08-19 14:27 ` Corinna Vinschen
2003-08-19 14:33   ` help-octave-request
     [not found] ` <200308191332.h7JDWVKF026466@bevo.che.wisc.edu>
2003-08-19 16:36   ` linamat
2003-08-20 12:13     ` Nedko Arnaudov
2003-08-20 13:10       ` Corinna Vinschen
2003-08-20 15:48         ` Nedko Arnaudov
2003-08-20 16:02           ` Corinna Vinschen
2003-08-21 10:44             ` Nedko Arnaudov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2997.212.0.200.22.1061540690.mtc@mail.moldtelecom.md \
    --to=linamat@moldtelecom.md \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).