LibC: Add INADDR_LOOPBACK
Some port was using this. Loopback addresses are not supported, but they will be 127.0.0.1.
This commit is contained in:
parent
aa03274093
commit
615d9d4abe
|
@ -26,7 +26,8 @@ __BEGIN_DECLS
|
|||
#define IPV6_V6ONLY 7
|
||||
|
||||
#define INADDR_ANY 0
|
||||
#define INADDR_BROADCAST UINT32_MAX
|
||||
#define INADDR_BROADCAST 0xFFFFFFFF
|
||||
#define INADDR_LOOPBACK 0x7F000001
|
||||
|
||||
#define INET_ADDRSTRLEN 16
|
||||
#define INET6_ADDRSTRLEN 46
|
||||
|
|
Loading…
Reference in New Issue