Improved the API documentation of sf::IpAddress
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1452 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
b7eb09cb79
commit
e924c9cf39
34 changed files with 336 additions and 264 deletions
|
@ -70,7 +70,7 @@ void DoClient(unsigned short port)
|
|||
}
|
||||
|
||||
// Ask for server address
|
||||
sf::IPAddress serverAddress;
|
||||
sf::IpAddress serverAddress;
|
||||
do
|
||||
{
|
||||
std::cout << "Type address or name of the server to connect to : ";
|
||||
|
|
|
@ -57,7 +57,7 @@ public :
|
|||
std::cout << "Server is listening to port " << port << ", waiting for connections... " << std::endl;
|
||||
|
||||
// Wait for a connection
|
||||
sf::IPAddress clientAddress;
|
||||
sf::IpAddress clientAddress;
|
||||
myListener.Accept(myClient, &clientAddress);
|
||||
std::cout << "Client connected : " << clientAddress << std::endl;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue