Changeset e4d6271 for sock.h


Ignore:
Timestamp:
2005-12-27T14:39:32Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e62762b
Parents:
238f828
Message:

IPv6 socket improvements. Daemon mode can now also listen on IPv6 sockets.
Also, when reverse lookup fails, BitlBee now correctly falls back to an
ASCII-formatted IP instead of "localhost.".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sock.h

    r238f828 re4d6271  
    11#include <errno.h>
    22#include <fcntl.h>
     3
     4/* To cut down on the ifdef stuff a little bit in other places */
     5#ifdef IPV6
     6#define AF_INETx AF_INET6
     7#else
     8#define AF_INETx AF_INET
     9#endif
    310
    411#ifndef _WIN32
Note: See TracChangeset for help on using the changeset viewer.