Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Whenever i try to run an ip address based project on A win 7,win 8 or win 8.1 systems means on that time i got an error called SOCKET EXCEPTION WAS UNHANDLED how to overcome this?? plss help me to solve this.

Note: This error was not there if i try to run this on xp machine
Posted
Comments
OriginalGriff 23-Sep-15 3:46am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
So perhaps it would help if we could see the relevant code fragments?
Use the "Improve question" widget to edit your question and provide better information.

1 solution

'handle the exception' is the obligatory (and lame) answer.
You have to understand why the exception was thrown (the exception object itself produces a lot of useful info) and then properly handle it in your application.
If you are not experiencing the problem on Windows XP then possibly the execption occurs because your application hit the UAC[^], but that's just a wild guess.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900