[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [syndication] XML Dispatching, 5335, and the Coffee Mug



On Sunday, April 7, 2002, at 10:17 PM, justin/klubnik wrote:

I do not have Radio installed on my system, so I can't verify that it works, however, in principle, it should. (fingers crossed)
 
You can examine the (simple) script at: http://fyuze.com/exp/xmldispatch.
src
 

Thoughts, suggestions?

You're testing for Radio from outside, which won't work with a NAT/Firewall setup:

	// check radio
	$fp = fsockopen ("$remote_ip", 5335, $errno, $errstr, 30);
	if ($fp)
	{
		$radio = TRUE;
		fclose ($fp);

	}

For this you'll need to fire JavaScript on the client side to see if Radio is alive on port 5335 (it also tries to listen on 8080) and activate the control.

Or you could display the control for Radio with the caveat that you don't know if it's installed or listening.

----
Bill Humphries <bill@whump.com>
http://www.whump.com/moreLikeThis/