Help for this page

Select Code to Download


  1. or download this
           And here's a corresponding server to go along with it.
           We'll leave the address as INADDR_ANY so that the kernel
           can choose the appropriate interface on multihomed hosts.
           If you want sit on a particular interface (like the
           external side of a gateway or firewall machine), you
           should fill this in with your real address instead.
    
  2. or download this
           INADDR_ANY
                Note: does not return a number, but a packed string.
     
    ...
                interface. This wildcard address allows you to bind
                to all of them simultaneously.)  Normally equivalent
                to inet_aton('0.0.0.0').