I have 2 applications, tcp server and tcp client which connect using socket, I run both in the local computer, set the server listening ip as 127.0.0.1, set the client ip as my local physical ip. But winsock error 10049 occur when the client trying to connect 127.0.0.1, the error means 'Cannot assign requested address'.
I can ping 127.0.0.1 and localhost. I have turned off Firewall and stopped the Firewall service. These 2 applications works fine in Win Xp, but not working in Win 7, so I don't know is there network setting or security setting need for windows 7, to let 127.0.0.1 can connect local physical ip address through socket?
thanks a lot.
Coding for living