Introduce a network interface API, refactor UDP

PUBLISHED_FROM=6e961e2760b2b64e211978ede5df8ca353ea5512
This commit is contained in:
Deomid Ryabkov authored and Marko Mikulicic committed 2015-10-30 18:38:40 +01:00
1 parent 747e40e74e
commit 2a4ca9d5c3
4 files changed
+949 -758

No files matched your search

@@ -43,6 +43,7 @@ static void ev_handler(struct mg_connection *nc, int ev, void *ev_data) {
*/
mg_dns_send_reply(nc, &reply);
nc->flags |= MG_F_SEND_AND_CLOSE;
break;
}
}
+1 -1
View File
@@ -4,7 +4,7 @@ CFLAGS = -W -Wall -I../.. -pthread -DMG_ENABLE_SSL -DMG_ENABLE_IPV6 -DMG_ENABLE_
all: $(PROG)
$(PROG): $(SOURCES)
$(CC) $(SOURCES) -o $@ $(CFLAGS)
$(CC) $(SOURCES) -g -o $@ $(CFLAGS)
$(PROG).exe: $(SOURCES)
cl $(SOURCES) /I../.. /DMG_ENABLE_SSL /MD /Fe$@