Echoc: a simple udb based link monitoriing application.

Uses the echo service on the other end to send back paquets.
This commit is contained in:
Matthieu Herrb 2012-07-15 09:54:00 +02:00
commit 1cf6c3b02b
2 changed files with 170 additions and 0 deletions

14
Makefile Normal file
View file

@ -0,0 +1,14 @@
#
PROG= echoc
SRCS= echoc.c
OBJS= $(SRCS:%.c=%.o)
all: $(PROG)
$(PROG): $(OBJS)
$(CC) -o $@ $(OBJS)
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<