01-23-04 10:01 PM
Hi,
I am writing a server program, I have to use accept() to get information fro
m client, at the same time i set a timer (using setitimer()) to do some peri
odical jobs(just some data update), but every time the timer function is inv
oked, the accept() will return with error. This always happens when the time
r is invoked the second time, no matter what interval I set to it. This stil
l happens when I put accept() and timer setup in two threads.
Anyone met this problem before?? Who can help me?
Thanks
Tian
[ Post a follow-up to this message ]
|