Re: check socket status
| From: | Antanas Vipartas | Date: | Wed, 10 May 2006 16:33:49 +0000 |
| Subject: | Re: check socket status | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235918@lists.php.net to get a copy of this message | ||
Jim Moseby wrote:
<?PHP
$netstat_info=netstat -l;
echo $netstat_info;
?>
Assuming it has permissions, and all the stars are aligned, you should get
the output of the 'netstat -l' command echoed to the screen.
Thanks Jim, this really solved the problem up.