|
-
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,
-
Oct 25th, 2006, 05:20 AM
#2
Re: [2.0] System.Net.Sockets.SocketException - DontRoute option set - OS Vista
Not sure what the issue is here.
I have written some c# apps and tested them on Vista.
One thing you really do have to take into account here is that Vista is still under development...and there are still many bugz in it, as I found out the hard way.
Have you got the latest Vista build that was released last week?
Woka
-
Oct 25th, 2006, 05:23 AM
#3
Thread Starter
Member
Re: [2.0] System.Net.Sockets.SocketException - DontRoute option set - OS Vista
I'm not sure which build is released last week. I'm using Windows Vista RC2 Build 5384, that came with MSDN mag
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
|