AccountServer crash when checked for open port

03/19/2014 13:31 raventh1984#1
Hi all,

I am using the latest V19 from Virtuos and i have 1 problem
I am using an PHP script with fsockopen to check if the port is open.
But when i call the script the AccountServer is crashing.

AccountServer.rpt file

AccountServer Crashlog.txt

If someone could explain way it crashes upon port check it will be helpful.
With kind regards
03/20/2014 11:55 Drabur#2
Debug the AccountServer.
03/21/2014 09:29 raventh1984#3
Debugging the AccountServer.exe gives the following result.

[Only registered and activated users can see links. Click Here To Register...]

This happens only when i check to see if the port is in use with php

so this

PHP Code:
    public function get_Status() {
        
$connect fsockopen($this->IP,$this->Port,$errno$errstr0.1);
        if(
$connect){
            
$status "Online";
            
fclose($connect);
        } else {
            
$status "Offline";
        }
        return 
$status;
    }


$AccountServer = new Monitor('127.0.0.1',12000);