[haiku-commits] Re: r39606 - haiku/trunk/src/kits/network/libnetapi

  • From: Philippe Houdoin <philippe.houdoin@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 24 Nov 2010 19:18:34 +0100

> I'm not entirely lucky with your solution, as the default address should
> always be INADDR_ANY, and that apparently doesn't work anymore for some
> reason; the logic added to SetToWildcard() should be what
> BNetworkAddressResolver has to do in this case (a NULL host).

Agreed, but that was not the case already,
a SetTo(AF_INET, NULL, whateverPortNumber) was resolved by
BNetworkAddressResolver::SetTo() as
127.0.0.1:whateverPortNumber.

I could look into that, but later, it's time to go home and have some
family time.

Bye,
  Philippe.

Other related posts: