I have used IOCP to build a TCP server.
How can I set the timeout value on the socket?
thanks
Lion.
"Lion Hook" <li...@lionlab.com> wrote in message
news:ux7#KaBsBHA.2280@tkmsftngp05...
So if I "expire" a read or write operation, I must keep the memory carefully
until the read or write operation complete. right? I think it will be
difficult. And if I start an other read operation before last operation
complate, it seems some data will be losted.
Maybe I can use "CancelIo" to cancel the operation, but the "CancelIo" does
not cancel I/O operations issued for the file handle by other threads.
"Oleg Manaev" <omanaev...@uswirelessdata.com> wrote in message
news:eUeyQYCsBHA.2452@tkmsftngp03...
Search Deja.com for "IOCP thread activation" in
microsoft.public.win32.programmer.kernel
for CancelIo discussion.
"Lion Hook" <li...@lionlab.com> wrote in message
news:OdkxtpDsBHA.2712@tkmsftngp05...
"Oleg Manaev" <omanaev...@uswirelessdata.com> wrote in message
news:O164tEPsBHA.2208@tkmsftngp05...
Lion Hook <li...@lionlab.com> wrote in message
news:ux7#KaBsBHA.2280@tkmsftngp05...