title: C Linux Macro for "localhost" in sockaddr_in structure?
body: <p><strong>I prefer <em>not</em> doing a resolve</strong>. A quick hardcoded macro to <strong><code>0x0100007F</code></strong> would work beautifully for IPv4, is there one for IPv6 too?</p>
  
  <p>This is for the <code>bind()</code> BSD sockets structure <code>sockaddr_in6</code> and <code>sockaddr_in</code></p>