Hello to everyone,
I'm using gsoap to serve five Web Services. I serve them all from one thread
(and I would like to keep that way) like this: (just an example of my design)
void ThreadFun {
for (i=0; i<5; i++) {
// inside this function I encapsulated gsoaps' accept() and serve()
_webService[i].Serve();
}
}
The problem is that the accept() function has a timeout of 1microsecond but
it's timingout after 10milliseconds aprox. So I have a delay of 50 millis.
Am i doing something wrong? Is there a way to make the accept() have NO TIMEOUT.
Thanks in advance for your time!!!
Yahoo! Cocina
Encontra las mejores recetas con Yahoo! Cocina.
http://ar.mujer.yahoo.com/cocina/