I found this cool example of an HTTP based socket server over at Christophe Coenraet’s blog. Basically he setup a socket and made it listen for incoming HTTP connections and server data based up the requests. Very neat stuff. It’s always interesting to see people push the uses of AS3 in new directions.
This should also be possible under older versions of AIR too. since those versions supported sockets too. the only difference is in AIR 2.0 we now have UDP sockets.
You can view the code and examples here.