I get error 10013. msdn says its a permission denied error.
An attempt was made to access a socket in a way forbidden by its access permissions
My app ran fine. I then made a code change and restarted it. I got that error. I suspected i have to reuse ports so i wrote this in and still had no luck
server.Server.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, 1);
How do i solve this error?
-edit-
I did notice if i close FireFox (with its many tabs) and run the program it works... Maybe it has something to do with a connection? (i had ajax communicate with it). I wonder what did it.