Commit c6dd2aa0e8e0836c3db884c72703cda2a1d0b72b

Authored by Georg Hopp
1 parent ea863749

build separate client for udp

@@ -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