I'm not an AIR expert, but I know you can set up a socket server with it, no C++ necessary...

http://www.adobe.com/devnet/air/flex...et_server.html