Closing tcp connection #34

This commit is contained in:
ShevAbam 2016-04-16 19:11:54 +02:00
parent 3f2f0db10c
commit f50db37e12
1 changed files with 6 additions and 0 deletions

View File

@ -172,9 +172,15 @@ class Misc
$handle = @fsockopen($host, $port, $errno, $errstr, $timeout);
if ($handle)
{
fclose($handle);
return true;
}
else
{
fclose($handle);
return false;
}
}
elseif ($protocol == 'udp')
{