Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Puddi

Pages: [1]
1
Network / Function sf::IpAddress::getLocalAddress() on MacOS
« on: June 03, 2012, 01:20:55 pm »
Hello,

My developer group and I are using the version 2.0 of the SFML and we need some network functions.

I'm the only one who use a Mac OS (version 10.7.4), the others use Ubuntu or others Linux distributions. The problem is that the function sf::IpAddress::getLocalAddress() doesn't work only on my computer. Others modules like audio, graphics, system, and window perfectly works, but I think I have a problem with the network one.

In fact, when I screen my Ip Adress in a simply program, it always return 0.0.0.0. The function :

std::cout << sf::IpAddress::getLocalAddress().toString() << std::endl;

Is it a recurrent problem or not ? And if it's not the case, where can it come from?

I'm sorry if the question have already been asked, but I don't find any solution.

Puddi Puddi

Pages: [1]
anything