Re: check socket status
| From: | Antanas Vipartas | Date: | Wed, 10 May 2006 15:51:40 +0000 |
| Subject: | Re: check socket status | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235910@lists.php.net to get a copy of this message | ||
Jim Moseby wrote:
Your server is *nix? You could:
$netstat_info=netstat -l; // notice back-tics
...then parse through the output.
JM
netstat -l | grep 5514 gives me information about listening service on port 5514. That's all I needed but I only can get this from *nix console. How could I test it on PHP server side ?