Monday, November 08, 2010 at 12:00 AM.
river2Suite.checkIfBehindFirewall
on checkIfBehindFirewall () { <<Changes <<8/24/09; 3:18:23 PM by DW <<Created. Returns true if we believe we're running behind a firewall or NAT. local (ip = tcp.dns.getmydottedid ()); local (server = "xmlrpc://rpc.rsscloud.org:5337/RPC2"); return ([server].rssCloud.firewallCheck (ip))} <<bundle //test code <<dialog.alert (checkIfBehindFirewall ())
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.