Mathias,

2008/9/1 Mathias L. Baumann <[EMAIL PROTECTED]>:
> Hi there,
> i plan to write an multiserver. That is, a server that not only works with
> http but also several other protocols. For that i need to start my own
> socket functions and so on.
> if read that for executing wt one needs to call WTrun (or sth like that).
>
> My question now is, can i execute this function in an other thread so i
> can do my own program loop at the same time, listening for other ports and
> so on?

Yes you can. Or you could use the WServer class instead of WRun() to
have more control of starting and stopping the httpd.

Regards,
koen

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to