问题描述
你好,
通过寻找解决方案浪费了将近两天后,我在这里试试运气.
我正在使用使用WSA套接字(Windows套接字)的小嗅探器 [ ^ ].
我的问题是,在WSAIoctl中的调用在Windows Server 2003(NOR R2 !!!),SP2下返回WSAEINVAL(10022)(问题同时出现在x64和x86中).我没有修改上面链接中示例的代码.
这一切在Win7,Win Server 2008,Win Server 2003 R2(是的,在这里起作用!),Win2K上都可以很好地工作. (我还没有机会测试XP)
因此,现在,WSAIoctl无法正常工作的Win2K3 Server有什么问题?有人知道这个问题吗?
TIA
Hannes
Hello,
after wasting nearly two days by searching for a solution I try my luck here.
I am using the sniffer from A Little Sniffer that Uses WSA Sockets (Windows Sockets)[^].
My problem is that the call in WSAIoctl returns WSAEINVAL (10022) under Windows Server 2003 (NOT R2!!!), SP2 (the problem occures in both x64 and x86). I did not modify the code from the sample in the link above.
This all works well on Win7, Win Server 2008, Win Server 2003 R2 (yes, here it works!), Win2K. (I didn''t have the opportunity to test XP yet)
So now, what is wrong with Win2K3 Server that WSAIoctl does not work? Anyone knowing this problem?
TIA
Hannes
这篇关于WSAIoctl在Windows Server 2003上失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!