Showing
2 changed files
with
2 additions
and
3 deletions
@@ -5,4 +5,5 @@ LIBS="-lcrypto -lssl -lrt -luuid" | @@ -5,4 +5,5 @@ LIBS="-lcrypto -lssl -lrt -luuid" | ||
5 | gcc ${CFLAGS} -c -o test_handler.o test_handler.c | 5 | gcc ${CFLAGS} -c -o test_handler.o test_handler.c |
6 | gcc ${CFLAGS} -I/usr/local/include -L/usr/local/lib ${LIBS} -o testserver testserver.c test_handler.o ${TRLIBS} | 6 | gcc ${CFLAGS} -I/usr/local/include -L/usr/local/lib ${LIBS} -o testserver testserver.c test_handler.o ${TRLIBS} |
7 | gcc ${CFLAGS} -I/usr/local/include -L/usr/local/lib ${LIBS} -o testserver2 testserver2.c test_handler.o ${TRLIBS} | 7 | gcc ${CFLAGS} -I/usr/local/include -L/usr/local/lib ${LIBS} -o testserver2 testserver2.c test_handler.o ${TRLIBS} |
8 | -gcc ${CFLAGS} -I/usr/local/include -L/usr/local/lib ${LIBS} -o testclient testclient.c ${TRLIBS} | 8 | +gcc ${CFLAGS} -I/usr/local/include -L/usr/local/lib ${LIBS} -o testtcp testclient.c ${TRLIBS} |
9 | +gcc ${CFLAGS} -I/usr/local/include -L/usr/local/lib ${LIBS} -DUDP=1 -o testudp testclient.c ${TRLIBS} |
@@ -15,8 +15,6 @@ int spinner[] = {'|', '/', '-', '\\'}; | @@ -15,8 +15,6 @@ int spinner[] = {'|', '/', '-', '\\'}; | ||
15 | TR_INSTANCE(TR_LoggerSyslog, mylogger, {TR_LOGGER_INFO}); | 15 | TR_INSTANCE(TR_LoggerSyslog, mylogger, {TR_LOGGER_INFO}); |
16 | TR_INSTANCE(TR_LoggerStderr, mylogger2, {TR_LOGGER_INFO}); | 16 | TR_INSTANCE(TR_LoggerStderr, mylogger2, {TR_LOGGER_INFO}); |
17 | 17 | ||
18 | -#define UDP 1 | ||
19 | - | ||
20 | int | 18 | int |
21 | main (int argc, char * argv[]) | 19 | main (int argc, char * argv[]) |
22 | { | 20 | { |
Please
register
or
login
to post a comment