AIR Web Server

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

Make sure you have the AIR 2 runtime installed (you can download the AIR 2 runtime here), and install the application using the badge below:

Please upgrade your Flash Player This is the content that would be shown if the user does not have Flash Player 9.0.115 or higher installed.

Testing the Application

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.

You can add your own content in the webroot folder in the applicationStorageDirectory.

Downloads

Application file MiniAIRWebServer.air 07/09/2010
Project file MiniAIRWebServer.fxp 07/09/2010

Comments

  1. RamTharni says:

    Its very great application, i learned lot from this especially socket connections using AIR.. Thanks a lot Coenraets

  2. matbaa says:

    thanks, good nice..

  3. This is a very Nice and Useful post. Thanks

    Depinder Bharti

  4. Arcko says:

    Great!

Speak Your Mind

*