• From Michael Heimpold:
    Just a nitpick: the INADDR_* macros are defined in host byte order,
    compare INADDR_LOOPBACK. So it would be reasonable to wrap this with
    htonl(INADDR_ANY). However, every experienced socket programmer should
    know that INADDR_ANY equals 0.0.0.0, passing it through htonl does not
    have any effect.
    Stéphane Raimbault authored
     
    Browse Code »