Removed IpAddress::IsValid(), added IpAddress::None

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1456 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-03-13 09:50:24 +00:00
parent 81fd4c5d1d
commit 691eea4c69
6 changed files with 10 additions and 37 deletions

View file

@ -19,7 +19,7 @@ void DoClientTCP(unsigned short port)
std::cout << "Type address or name of the server to connect to : ";
std::cin >> serverAddress;
}
while (!serverAddress.IsValid());
while (serverAddress == sf::IpAddress::None);
// Create a TCP socket for communicating with server
sf::SocketTCP client;