httpsrv.hfilesource file

This module defines the HTTPServer intrinsic class. This class is used to set up a network HTTP server, which has a number of potential applications:

- Run a game in a client/server configuration, so that the user interface is running in a Web browser on one machine, and the game itself is running on a separate server machine on the network. This lets the game run on handheld devices that might be too slow to run the game directly, allows running the game without any software installation, and makes the game more portable by depending only on a browser being available rather than requiring a TADS interpreter.

- Run a game in with a browser-based UI, so that it can take advantage of HTML DOM and Javascript. Modern browsers are more powerful than HTML TADS, so it's possible to create a more elaborate and customized game UI by running in a browser.

- Create a multi-user game, by running the game on a server and writing the game to accept connections from more than one player.

Summary of Classes  

HTTPServer 

Summary of Global Functions  

(none)

Summary of Macros  

(none)

Summary of Enums  

(none)

Summary of Templates  

(none)

Global Functions  

(none)

Macros  

Enums  

(none)

Templates  

(none)

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3