After exploring Java integration using the new Native Process API (here and here), Excel integration using the new file.openWithDefaultApplication(), and the new Microphone API, here is another application I wrote, this time to explore the new Adobe AIR 2.0 Server Socket API.
The “Mini AIR Web Server” is a simplistic implementation of an HTTPServer. Needless to say that it is far from being a production quality Web Server. The goal here is simply to use the well understood mechanics of a web server to learn how to use server sockets in AIR 2.0.
Installation Instructions
- Download the AIR 2.0 beta runtime here.
- Download MiniAIRWebServer.air here.
- Double-click MiniAIRWebServer.air in Explorer or Finder to start the installation process.
To test the application, open a browser and test the sample HTML pages provided with the application:
NOTE: You may have to change the port number in these URLs depending on the port number you enter in the application.

RSS