I’m not sure which one of these will work out for you, but here’s a couple options that are way better than flash.
Here’s a webserver that embeds into Max:
Here’s a good example of using it with jweb:
You can also use PHP and UDP to send messages from a non-embedded server to max:
Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.