Hello,

First off, I am a witty newbie so pardon me if I ask stupid questions.

Anyways are there any info/samples on how to use the built in http server?
I tried to look around a bit but it seemed all examples assumed the 
program was a "stupid demon" as they all did
void main(void) {
Wrun(...);
}

I need to start the server and continue with my own work and also be 
able to shut it down and what not when I want to.
When I tried to do this (I copied the code from Wrun) it seemed to 
require me to include much of the "internal source code" of Witty and I 
started thinking there has to be a better way.

What I want to do (sort of) is:
void main(void) {
...
server = new server(my,own,configuration);
server.start();
...
...
server.stop();
...
...
server.start();
...
...
server.exit();
delete server;
...
}

// Michael Medin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to