Socket fixes deel 2
This commit is contained in:
parent
0f125ca0e9
commit
08f78a8bed
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,7 @@ int DDV::Socket::iwrite(void * buffer, int len){
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (r == 0){close();}
|
||||
return r;
|
||||
}//DDV::Socket::iwrite
|
||||
|
||||
|
@ -199,6 +200,7 @@ int DDV::Socket::iread(void * buffer, int len){
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (r == 0){close();}
|
||||
return r;
|
||||
}//DDV::Socket::iread
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue