mirror of
https://github.com/ShaYmez/ezservermonitor-web.git
synced 2026-06-07 08:24:45 -04:00
Closing tcp connection #34
This commit is contained in:
@@ -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')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user