Archived

This forum has been archived. Please start a new discussion on GitHub.

Wsaeafnosupport

Hi everyone!
Running my app (that working good at Windows 2008) at Windows 2003, I have the following exception at the step of creating object adapter
Ice::ObjectAdapterPtr adapter = ic->createObjectAdapterWithEndpoints("R_ADAPTER", "tcp -p 9870");
:
Network.cpp:180 Ice::SocketException:
socket exception WSAEAFNOSUPPORT

What is this? How I can resolve it?

Comments

  • benoit
    benoit Rennes, France
    Hi,

    This is most likely caused by IPv6 not being enabled by default on Windows 2003. You should either enable it or disable IPv6 support in Ice by setting the Ice.IPv6=0 property.

    Cheers,
    Benoit.
  • Thanks a lot, benoit! It works.