Move IPV4_LOCALHOST to net.h

This constant will be used from several files.
This commit is contained in:
Romain Vimont
2021-11-14 01:22:22 +01:00
parent 37c840a4c8
commit 0d45c29d13
2 changed files with 3 additions and 1 deletions
+3
View File
@@ -22,8 +22,11 @@
# include <sys/socket.h>
# define SC_INVALID_SOCKET -1
typedef int sc_socket;
#endif
#define IPV4_LOCALHOST 0x7F000001
bool
net_init(void);