Skip to content
Snippets Groups Projects
Commit b1bbf94a authored by Ramiro Facundo Lorenzo Rodriguez Inthamoussu's avatar Ramiro Facundo Lorenzo Rodriguez Inthamoussu
Browse files
parents a52a50d6 6006d251
No related branches found
No related tags found
No related merge requests found
......@@ -239,10 +239,10 @@ void UDP(char* HOSTNAME){
if (received_data_size < 1){
if ((received_data_size < 0) && ((errno == EAGAIN) || (errno == EWOULDBLOCK))){
printf("Error, no hay respuesta del servidor.\n");
return;
break;
}else{
printf("Error al recibir datos.\n");
return;
break;
}
}else {
printFrameUDP(buf, received_data_size);
......
FLAGS = -g -Wall -pthread -I/usr/include/opencv
LIBS = -lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video
EJECUTABLE = cliente
OBJETOS = \
cliente.o
cliente.o: cliente.cpp
g++ -c cliente.cpp -o cliente.o $(FLAGS)
build: $(OBJETOS)
g++ $(OBJETOS) $(LIBS) -o $(EJECUTABLE) $(FLAGS)
clean:
rm -f $(OBJETOS)
rm -f $(EJECUTABLE)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment