I saw this on altdevblogaday a while back. Embedding a webserver in your game engine, and then using javascript on the webbrowser to visualize it.
Just tried it tonight... btw the tutorial is wrong in several parts of the examples from C to javascript to JSON, but it's the idea that counts. :D