The Apache service named reported the following error:Disabled use of AcceptEx() WinSock2 API .

If you have updated Windows and have SP2 (you should by now)

Go to the Start button > to the Run box > type cmd and the command window opens

now type: netsh winsock reset

this will repair your corrupted Winsock

if you do not have SP2 yet for some reason, then read this page from

MS on how to repair your Winsock

Afterwards go to Windows Updates and get everything you do not have yet. There has been a lot of updates and patches over the last few months. They come out the 2nd Tuesday of every month, but this month they were released early to fix a critical patch.

同时我也在同时在http server 的文档上看到Win32DisableAcceptEx (使用accept()代替AcceptEx()接受网络链接)这个命令,有一个关于

AcceptEx()的介绍:

AcceptEx()

是一个微软的WinSock2 API ,通过使用BSD风格的

accept()

API提供了性能改善。一些流行的Windows产品,比如防病毒软件或虚拟专用网络软件,会干扰

AcceptEx()

的正确操作。如果你遇到类似于如下的错误:

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

你就需要使用这个指令来禁止使用

AcceptEx()

 » 本站地址:http://www.gomoth.com
  • 您可能感兴趣的相关文章