i'm working on a massenger and i'm facing the following difficulties
first i'm trying to get the IP of a client computer by the name by the following function
sf::IpAddress ip("computer name");
this function works sometimes, and sometimes it don't work, while the client name is present on the LAN.
and second please elaborate the receive function.
how it works.
and if it don't receive anything than what it'll be return.