Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Info604
col3-bibtp1
Commits
192b7966
Commit
192b7966
authored
Apr 14, 2020
by
pernelle
Browse files
affichage du message d'envoie
parent
ba40a6f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
communCOL3-TP1.c
View file @
192b7966
...
...
@@ -207,7 +207,7 @@ int envoiMessageCOL3_s(int sock, const char * msgresponse, int logFlag) {
if
(
logFlag
)
printf
(
" --> socket[envoiMessageCOL3] : envoi [NOK] | socket %d | msg = %s
\n
"
,
sock
,
msgresponse
);
}
else
{
if
(
logFlag
)
printf
(
" --> socket[envoiMessageCOL3] : envoi [OK] | socket %d vers IP = %s | msg = %
%
\n
"
,
sock
,
inet_ntoa
(
addresIPClient
.
sin_addr
),
msgresponse
);
if
(
logFlag
)
printf
(
" --> socket[envoiMessageCOL3] : envoi [OK] | socket %d vers IP = %s | msg = %
s
\n
"
,
sock
,
inet_ntoa
(
addresIPClient
.
sin_addr
),
msgresponse
);
ret
=
1
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment