On Sep 10 01:19, Brian Dessent wrote: > Corinna Vinschen wrote: > > > All WSADuplicateSocket calls fail with 10045, "operation is not supported > > for the type of object referenced", even thought the above created socket > > handles are referenced. That's weird. > > > > I'm still running XP SP1 and I can't reproduce this. I'm wondering if > > that's a side effect of the new firewall in XP2. Did you try with > > switching off the firewall entirely? > > FWIW this error happens frequently enough for Apache under windows that > it's in their FAQ: > <http://httpd.apache.org/docs/misc/FAQ.html#WSADuplicateSocket> > > ---- quote ---- > Apache for Windows does not start. Error log contains this message: > "[crit] (10045) The attempted operation is not supported for the type of > object referenced: Parent: WSADuplicateSocket failed for socket ###". > What does this mean?
Interesting. > And finally, although it's probably not relevant, the following passage > from > <http://msdn.microsoft.com/security/productinfo/xpsp2/default.aspx?pull=/library/en-us/dnwxp/html/securityinxpsp2.asp> > might help track down the problem: > > ---- quote ---- > IPv4 Inbound Connections for Applications. An application that completes > a listen operation on a TCP socket or successfully binds to a UDP socket > through Winsock is covered by this scenario. Examples of these > applications include audio and video in MSN or Windows Messenger, or > hosting a multiplayer game. For this scenario, ICF can automatically > open and close ports as needed by the application. When an application > that needs to listen on a port or ports is being installed by an > administrator, it will need to ask the user if he/she wants to allow the > application to open ports in the firewall. If the user consents to this, > then the application should use the INetFwV4AuthorizedApplication API to > add itself to the AuthorizedApplications collection as enabled. If the > user does not consent, then the application should use the > INetFwV4AuthorizedApplication API to add itself to the > AuthorizedApplications collection as disabled. > ---- end quote ---- I *pray* it's not related. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/