Thanks, Friedrich. I had looked up that code before somewhere and it said "actively refused connection." Now from your link and the MSDN link below, I get the right explanation. I'm not sure though whether that is from the client or the server side.
http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx