Add IPv6 support for listening sockets

This commit is contained in:
2016-02-17 18:15:04 +01:00
parent 3370e83f55
commit 2456039df1
2 changed files with 132 additions and 48 deletions

View File

@@ -1,9 +1,9 @@
BIN_DIR=../bin
SRCS = ip_to_geo.c test.c cmdline.c server.c
TARGET = $(BIN_DIR)/ip_to_geo
CFLAGS = -Wall
LDFLAGS= -lpthread
BIN_DIR =../bin
SRCS = ip_to_geo.c test.c cmdline.c server.c
TARGET = $(BIN_DIR)/ip_to_geo
CFLAGS = -Wall
LDFLAGS = -lpthread
ifneq ($(DEBUG),)
CFLAGS += -ggdb -O0