Re: Under what circumstances would you use Sockets in PHP?
| From: | Miguel Cruz | Date: | Fri, 05 Apr 2002 20:39:43 +0000 |
| Subject: | Re: Under what circumstances would you use Sockets in PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-91798@lists.php.net to get a copy of this message | ||
On Fri, 5 Apr 2002, Chris wrote:
> Just wondering, under what circumstances would you use sockets under PHP?
> Any examples?
The most obvious answer is to use them for speaking internet protocols not
directly supported by other functionality in PHP. For instance, there are
already ways to speak HTTP, but if you need to talk to a whois server, a
finger server, etc., then it's sockets to the rescue.
miguel