Httpudp support, fixed error reading httpdns "http_req".

This commit is contained in:
2021-12-23 09:02:41 +08:00
parent 9aa4d19547
commit 40df4da8b8
18 changed files with 1237 additions and 72 deletions

13
udpServer/Makefile Executable file
View File

@@ -0,0 +1,13 @@
CROSS_COMPILE ?=
CC := $(CROSS_COMPILE)gcc
STRIP := $(CROSS_COMPILE)strip
CFLAGS := -O2 -pthread -Wall
BIN := udpServer
all : udpServer.o
$(CC) $(CFLAGS) -o $(BIN) $^
$(STRIP) $(BIN)
-chmod a+x $(BIN)
clean :
rm -f *.o $(BIN)