try again maybe?
This commit is contained in:
parent
63d91b2e5e
commit
d0e4356cdb
1 changed files with 1 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ int main(int argc, char **argv)
|
||||||
// make sure that the connection is still open before attempting to send.
|
// make sure that the connection is still open before attempting to send.
|
||||||
if(messageBytes <= 0)
|
if(messageBytes <= 0)
|
||||||
{
|
{
|
||||||
|
printf("\nmessageBytes: %d\n", messageBytes);
|
||||||
// if it is not open, close the socket and remove the socket from the socket list using FD_CLR()
|
// if it is not open, close the socket and remove the socket from the socket list using FD_CLR()
|
||||||
close(fileIter);
|
close(fileIter);
|
||||||
FD_CLR(fileIter, &socketList);
|
FD_CLR(fileIter, &socketList);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue