I have the following script:
$fp = @fsockopen($IPAddress, $newport, $errno, $errstr, (float) 0.5);
if ($fp) {
echo("Conectado\n");
} else {
echo("Desconectado\n");
}
This script checks if a particular port is open, works fine.
I...
asked by
06.09.2018 / 20:04