An operation was attempted on something that is not a socket

Yesterday i upgrade (or make new instalation) my Win32-Apache to 2.0. There was an error :
An operation was attempted on something that is not a socket. : Child 4408: Encountered too many errors accepting client connections. Possible causes: dynamic address renewal, or incompatible VPN or firewall software. Try using the Win32DisableAcceptEx directive.

It was time consuming for me :(. But here is the solution:

  1. open file: httpd.conf in directory: apache2conf
  2. add line: Win32DisableAcceptEx to the file: httpd.conf
  3. save file: httpd.conf
  4. restart the apache

(thanks to jenggot)

fyi (from: Apache2Triad Help, Support and Development):

“AcceptEx() is a Microsoft WinSock v2 API that provides some performance improvements over the use of the BSD style accept() API in certain circumstances. Some popular Windows products, typically virus scanning or virtual private network packages, have bugs that interfere with the proper operation of AcceptEx(). If you encounter an error condition like:

[error] (730038)An operation was attempted on something that is not a socket.: winnt_accept: AcceptEx failed. Attempting to recover.

you should use this directive to disable the use of AcceptEx().”