This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: accept() doesn't block while running as NT service


The problem exists under Win2k sp4, cygwin-1.3.22 and cygwin-1.5.2.

Anyhow an explanation would be much appreciated.

I've read cygrunsrv last version and inetd sources, but couldn't find any
error in my code.

Some parameters from CreateService() which I used:
SERVICE_WIN32_OWN_PROCESS
".\\LocalSystem" or NULL served as lpServiceStartName

I also could post all service source.
Does exist any difference for Cygwin call accept() in such case between
executing in a process token level and in user space?

An interesting thing: the TCP port is not even binded, while listen
returns 0.




--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]