Re: [PHP4BETA] No binary MD5 checksum (+ UDP fsockopen() option)
| From: | Sascha Schumann | Date: | Wed, 22 Dec 1999 15:12:11 +0000 |
| Subject: | Re: [PHP4BETA] No binary MD5 checksum (+ UDP fsockopen() option) | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8380@lists.php.net to get a copy of this message | ||
On Wed, Dec 22, 1999 at 02:27:13PM +0100, Michael S. Steuer wrote:
> |I notice there is a UDP option to fsockopen(), and it works.
> |For anyone interested you prepend "udp://" to the first host
> |argument of fsockopen(). Really cool :-)
>
> That's weird, Sascha Schumann said only a few days ago:
>
> Currently, there is no UDP support. There also no plans to
> support it, because noone has stepped up to do it yet.
>
> So, either the UDP support was implemented between last sunday and today, or
> there is no UDP support, or Sascha was wrong ??
Yes, you can open sockets with SOCK_DGRAM. The problem here
is that the socket buffering system is not intended for this
kind of socket. I didn't test it with UDP, so the status of
using SOCK_DGRAM is unknown (at least until someone tests it
and reports that it works reliably).
--
Regards,
Sascha Schumann
Consultant