public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: accept doesn't block while running as NT service
@ 2003-08-22  9:03 linamat
  2003-08-22 10:43 ` proftpd Mauri
  0 siblings, 1 reply; 8+ messages in thread
From: linamat @ 2003-08-22  9:03 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-09-01 15:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-22  9:03 accept doesn't block while running as NT service linamat
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

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).