Re: check socket status
| From: | Antanas Vipartas | Date: | Wed, 10 May 2006 16:23:28 +0000 |
| Subject: | Re: check socket status | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235915@lists.php.net to get a copy of this message | ||
Barry wrote:
Knock at the port door ;) Nah just kidding. you can try to connect via fsockopen. I hope that port gives something back you can read out. because every port allows connections if it's not blocked or firewalled.actually, it helps. I can sense if the socked is listened. But the program, listening on that port, senses the "fsockopen" connection which I don't want to be. Is there another way to sense if the socked is listened by some service? thanks Antanas Vipartas