Hi Vlad, thank you for reply.
But it is too frequent for the server to do writing, if there are too many clients. How do you write the buffer to disk? I write the whole buffer to disk as following:
I think buffer's advantage of fast operation is damaged if write the whole buffer to disk too often.
I had thought the problem of server crash. But when I rethink it, I was trapped in dilemma.
[ November 07, 2003: Message edited by: damu liu ]