|
-
Oct 25th, 2006, 04:09 AM
#1
Thread Starter
Member
[2.0] System.Net.Sockets.SocketException - DontRoute option set - OS Vista
Hi All,
I use DontRoute option for a socket in my application which works with no issues in Windows 2000 and Windows XP but throws an exception in Windows Vista RC2.
Here is the code:
tcpClient.SetSocketOption(SocketOptionLevel.Tcp, SocketOptionName.DontRoute, 1);
This is the exception Message;
Exception: System.Net.Sockets.SocketException
Message: An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call
Source: System
at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue, Boolean silent)
at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue)
Are there any security options changed in Vista to resolve this issue or is there anything else that i can do with the code.
PS: When i removed the DontRoute option in my code, I'm able to use the application and i don't find any issues.
Thank you,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|