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
6ff8a154
Commit
6ff8a154
authored
7 years ago
by
Alvaro Liber Vallve Maidana
Browse files
Options
Downloads
Patches
Plain Diff
Continuando con el Ctrl+C se cambian return por break.
Para cerrar de forma correcta los sockets.
parent
d97441c1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Tarea2-RC-Grupo25-Cliente.cpp
+2
-2
2 additions, 2 deletions
src/Tarea2-RC-Grupo25-Cliente.cpp
with
2 additions
and
2 deletions
src/Tarea2-RC-Grupo25-Cliente.cpp
+
2
−
2
View file @
6ff8a154
...
...
@@ -238,10 +238,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
"
);
re
turn
;
b
re
ak
;
}
else
{
printf
(
"Error al recibir datos.
\n
"
);
re
turn
;
b
re
ak
;
}
}
else
{
printFrameUDP
(
buf
,
received_data_size
);
...
...
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