Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tarea2-RC-Grupo25-Cliente
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ramiro Facundo Lorenzo Rodriguez Inthamoussu
Tarea2-RC-Grupo25-Cliente
Commits
b1bbf94a
Commit
b1bbf94a
authored
7 years ago
by
Ramiro Facundo Lorenzo Rodriguez Inthamoussu
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://gitlab.fing.edu.uy/ramiro.rodriguez/Tarea2-RC-Grupo25-Cliente
parents
a52a50d6
6006d251
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/cliente.cpp
+2
-2
2 additions, 2 deletions
src/cliente.cpp
src/makefile
+15
-0
15 additions, 0 deletions
src/makefile
with
17 additions
and
2 deletions
src/
Tarea2-RC-Grupo25-C
liente.cpp
→
src/
c
liente.cpp
+
2
−
2
View file @
b1bbf94a
...
@@ -239,10 +239,10 @@ void UDP(char* HOSTNAME){
...
@@ -239,10 +239,10 @@ void UDP(char* HOSTNAME){
if
(
received_data_size
<
1
){
if
(
received_data_size
<
1
){
if
((
received_data_size
<
0
)
&&
((
errno
==
EAGAIN
)
||
(
errno
==
EWOULDBLOCK
))){
if
((
received_data_size
<
0
)
&&
((
errno
==
EAGAIN
)
||
(
errno
==
EWOULDBLOCK
))){
printf
(
"Error, no hay respuesta del servidor.
\n
"
);
printf
(
"Error, no hay respuesta del servidor.
\n
"
);
re
turn
;
b
re
ak
;
}
else
{
}
else
{
printf
(
"Error al recibir datos.
\n
"
);
printf
(
"Error al recibir datos.
\n
"
);
re
turn
;
b
re
ak
;
}
}
}
else
{
}
else
{
printFrameUDP
(
buf
,
received_data_size
);
printFrameUDP
(
buf
,
received_data_size
);
...
...
This diff is collapsed.
Click to expand it.
src/makefile
0 → 100644
+
15
−
0
View file @
b1bbf94a
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment