Hello,
As the title suggest i have a quick quesiton. Is it possible for PHP to connect to a MultiCast Stream and get all the data and display it in realtime?
We have a server that is broadcasting information over a multicast stream and i want to be able to have php hook into the stream and display the data in realtime. I understand that if it is possible i would have to do a bunch of work with the data packets etc.
Is this even possible?
Thanks DefunctExodus
Yes, it's possible, if I'm interpreting what you want correctly. Look into using PHP's socket functions. fsockopen, fread or stream_get_contents, and if you need to send anything back, fwrite or fputs. Off the top of my head, at least. 😉