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:
parent
81fd4c5d1d
commit
691eea4c69
6 changed files with 10 additions and 37 deletions
|
@ -19,7 +19,7 @@ void DoClientUDP(unsigned short port)
|
|||
std::cout << "Type address or name of the server to send the message to : ";
|
||||
std::cin >> serverAddress;
|
||||
}
|
||||
while (!serverAddress.IsValid());
|
||||
while (serverAddress == sf::IpAddress::None);
|
||||
|
||||
// Create a UDP socket for communicating with server
|
||||
sf::SocketUDP client;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue