开发者

How do I know if raw sockets are enabled in Windows 7?

I'm currently working on an app in C++ as for studying tcp/ip raw sockets on a Win7 box.

I want to know if my OS has raw sockets enabled, and if not, is there any way to enable them?

I can see from here that Winsock has limitations in Win7 (again: is it possible to unlock it since its my box, I have admin privileges).

Moreover, despite of those referenced limitations, is it possible at least, for me to complete the TCP 3-way presentat开发者_StackOverflow中文版ion?

Maybe my last option would be using Winpcap library.


Windows supports raw sockets natively.

The Microsoft implementation of TCP/IP on Windows is capable of opening a raw UDP or TCP socket based on the above restrictions. Other Winsock providers may not support the use of raw sockets.


Please read this: http://msdn.microsoft.com/en-us/library/ms740548(v=vs.85).aspx

And by the way I am also searching on how to lift those limitations.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜