views:

24

answers:

1

I am trying to write a webserver that processes requests from multiple clients simultaneously. The way it is designed, only one request can be processed at a time.

What I need is a way to call nextPendingConnection() and then dispatch the connection to a separate thread for processing.

Is there any way to do this?

+3  A: 

This sample here should explain it http://doc.qt.nokia.com/4.7/network-threadedfortuneserver.html

bjoern.bauer