Appendix: NPDS Preferences Frame

{

sport: int, //HTTP Port for your Server

security: {

admin: {password: string, random: boolean},

client: {password: string, random: boolean},

securessi: boolean;}, //Security Frame

hitCounter:int, //Basic hit counter

hitBeep: boolean, //Beep on HTTP Request

showSlip: boolean, //Show connect Slip

motd: string, //Admin Message of the Day

font: string, //Base Font

mime: string, //MIME Charset. "None" == No Charset

fontsize: string, //Font Size (1-7)

bgcolor: string, //Hex Code Background Color

hlcolor: string, //Hex Code Highlight Color

home: string, //Path to default file

teardown: int, //HTTP Latency (500-8000 msec)

logging: {

loghits: boolean, dnslookup: boolean,

expire: int, maxreq: int}, //Logging Preferences

css: string, //NPDS Cascading Style Sheet

version: real, //nHTTPd Version Number == Version of NPDS

}